Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit fcf5975

Browse files
nhamlhslimm609
andauthored
fix: arm64 image is actually x86 (#423)
Signed-off-by: Nham Le <lehoainham@gmail.com> Co-authored-by: Brian Davis <dbrian@vmware.com>
1 parent 953f539 commit fcf5975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ COPY Makefile .
1818
ARG VERSION
1919
RUN make build VERSION=$VERSION TARGETARCH=$TARGETARCH TARGETOS=$TARGETOS
2020

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

2323
ARG RVM_PATH=/usr/local/rvm
2424
ARG RUBY_VERSION=ruby-3.1.4
@@ -127,4 +127,4 @@ EXPOSE 24444 5140
127127

128128
USER root
129129

130-
ENTRYPOINT ["/fluentd/entrypoint.sh"]
130+
ENTRYPOINT ["/fluentd/entrypoint.sh"]

0 commit comments

Comments
 (0)