Skip to content

Commit e6641b9

Browse files
Frankkkkkoktalz
authored andcommitted
BUILD/MINOR: Dockerfile: Warn when TARGETPLATFORM undeclared
Signed-off-by: Frank Villaro-Dixon <[email protected]>
1 parent 4244557 commit e6641b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN apk --no-cache add socat openssl util-linux htop tzdata curl && \
5858
"linux/arm/v7") S6_ARCH=armhf ;; \
5959
"linux/ppc64le") S6_ARCH=ppc64le ;; \
6060
"linux/386") S6_ARCH=x86 ;; \
61-
*) exit 1 ;; \
61+
*) echo "ARG TARGETPLATFORM undeclared" >&2 && exit 1 ;; \
6262
esac && \
6363
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" && \
6464
chmod +x /tmp/s6-overlay-installer && \

0 commit comments

Comments
 (0)