diff --git a/Dockerfile b/Dockerfile index 8bf15ee..5bb5cb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ COPY ./main.go ./ COPY ./pkg ./pkg ARG TARGETPLATFORM -RUN echo "Building BUILDPLATFORM: '${BUILDPLATFORM}', TARGETPLATFORM: '$TARGETPLATFORM'"; -RUN +RUN echo "Building BUILDPLATFORM: '${BUILDPLATFORM}', TARGETPLATFORM: '$TARGETPLATFORM'"; \ export GOOS=$(echo $TARGETPLATFORM | cut -d / -f1); \ export GOARCH=$(echo $TARGETPLATFORM | cut -d / -f2); \ if [ "$GOARCH" = "arm" ]; then \