Skip to content

Commit

Permalink
fix: arm64 image is actually x86 (#423)
Browse files Browse the repository at this point in the history
Signed-off-by: Nham Le <[email protected]>
Co-authored-by: Brian Davis <[email protected]>
  • Loading branch information
nhamlh and slimm609 authored Oct 25, 2023
1 parent 953f539 commit fcf5975
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
Expand Up @@ -18,7 +18,7 @@ COPY Makefile .
ARG VERSION
RUN make build VERSION=$VERSION TARGETARCH=$TARGETARCH TARGETOS=$TARGETOS

FROM --platform=${BUILDPLATFORM:-linux/amd64} photon:4.0
FROM --platform=${TARGETPLATFORM:-linux/amd64} photon:4.0

ARG RVM_PATH=/usr/local/rvm
ARG RUBY_VERSION=ruby-3.1.4
Expand Down Expand Up @@ -127,4 +127,4 @@ EXPOSE 24444 5140

USER root

ENTRYPOINT ["/fluentd/entrypoint.sh"]
ENTRYPOINT ["/fluentd/entrypoint.sh"]

0 comments on commit fcf5975

Please sign in to comment.