Skip to content

Commit

Permalink
feat: use TARGETPLATFORM in dockerfile for multi platform image
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt authored May 13, 2024
1 parent 3768a53 commit 07b8179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM busybox
FROM --platform=$TARGETPLATFORM busybox

RUN mkdir -p /app
RUN chmod 777 /app
Expand All @@ -8,4 +8,4 @@ RUN chmod 777 /backup
COPY ./volume_toolkit /usr/bin/volume_toolkit
RUN chmod +x /usr/bin/volume_toolkit

ENTRYPOINT ["/usr/bin/volume_toolkit"]
ENTRYPOINT ["/usr/bin/volume_toolkit"]

0 comments on commit 07b8179

Please sign in to comment.