Skip to content

Commit

Permalink
Add TARGETPLATFORM and BUILDPLATFORM args
Browse files Browse the repository at this point in the history
  • Loading branch information
Minituff authored Oct 20, 2023
1 parent cab0e3f commit da0cc30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Use base docker image. Contains the docker commands we need to start and stop containers
FROM docker:24.0.6-cli

ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"

# Install dependencies
RUN apk add bash rsync tzdata dos2unix jq

Expand Down

0 comments on commit da0cc30

Please sign in to comment.