Skip to content

Commit

Permalink
BUILD/MINOR: Dockerfile: Warn when TARGETPLATFORM undeclared
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
  • Loading branch information
Frankkkkk authored and oktalz committed Mar 17, 2022
1 parent 4244557 commit e6641b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN apk --no-cache add socat openssl util-linux htop tzdata curl && \
"linux/arm/v7") S6_ARCH=armhf ;; \
"linux/ppc64le") S6_ARCH=ppc64le ;; \
"linux/386") S6_ARCH=x86 ;; \
*) exit 1 ;; \
*) echo "ARG TARGETPLATFORM undeclared" >&2 && exit 1 ;; \
esac && \
curl -sS -L -o /tmp/s6-overlay-installer "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}-installer" && \
chmod +x /tmp/s6-overlay-installer && \
Expand Down

0 comments on commit e6641b9

Please sign in to comment.