Skip to content

Commit

Permalink
make hadolint happy (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf authored Oct 15, 2024
1 parent 9138c99 commit 665aedd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ARG TARGETPLATFORM TARGETOS TARGETARCH

SHELL ["/bin/bash", "-x", "-o", "pipefail", "-c"]

# hadolint ignore=DL3008,SC2086,SC2039,SC2068
# hadolint ignore=DL3008,SC2086,SC2039,SC2068,SC2010
RUN \
--mount=type=bind,from=downloader,source=/,target=/downloader \
--mount=type=bind,source=./,target=/app/ \
Expand Down Expand Up @@ -109,7 +109,7 @@ RUN \
RBFEEDER_VERSION=$(/usr/bin/rbfeeder --no-start --version | cut -d " " -f 2,4 | tr -d ")" | tr " " "-") && \
echo "$RBFEEDER_VERSION" > /CONTAINER_VERSION && \
# delete unnecessary qemu binaries to save lots of space
rm -f $(ls /usr/bin/qemu-*-static | grep -v qemu-arm-static) && \
find /usr/bin -regex '/usr/bin/qemu-.*-static' | grep -v qemu-arm-static | xargs rm -vf {} && \
# clean up
apt-get remove -y "${TEMP_PACKAGES[@]}" && \
apt-get autoremove -y && \
Expand Down

0 comments on commit 665aedd

Please sign in to comment.