Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
identw committed May 15, 2024
1 parent 735c5bd commit fce54af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit fce54af

Please sign in to comment.