Skip to content

Commit

Permalink
Dockerfile: fix hadolint complaints
Browse files Browse the repository at this point in the history
Change-Id: I57e6ef793f78b0267ae4fa4a18637951133fb169
Signed-off-by: Joakim Roubert <[email protected]>
  • Loading branch information
joakimr-axis committed Oct 25, 2024
1 parent c052334 commit 1769a71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ARG LIBMODBUS_VERSION
ENV DEBIAN_FRONTEND=noninteractive

# Install additional build dependencies
# hadolint ignore=DL3008
RUN apt-get update && apt-get install -y -f --no-install-recommends \
autoconf \
automake \
Expand All @@ -25,8 +26,8 @@ RUN curl -L https://github.com/stephane/libmodbus/archive/refs/tags/v$LIBMODBUS_
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN . /opt/axis/acapsdk/environment-setup* && \
./autogen.sh && \
./configure --host=$ARCH --prefix=/usr --enable-static=yes --enable-shared=no && \
make -j $(nproc) install prefix=$SDKTARGETSYSROOT/usr
./configure --host="$ARCH" --prefix=/usr --enable-static=yes --enable-shared=no && \
make -j "$(nproc)" install prefix="$SDKTARGETSYSROOT"/usr

# Build ACAP package
WORKDIR "$ACAP_BUILD_DIR"
Expand Down

0 comments on commit 1769a71

Please sign in to comment.