Skip to content

Commit e0d28a2

Browse files
committed
set ARG TARGETARCH
1 parent e617f33 commit e0d28a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/Dockerfile.multiarch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# This is the multi-arch Dockerfile used for Coder. Since it's multi-arch and
2-
# cross-compiled, it cannot have ANY "RUN" commands. All binaries are built
3-
# using the go toolchain on the host and then copied into the build context manullay.
1+
# This is the multi-arch Dockerfile used for Coder. All binaries are built
2+
# using the go toolchain on the host and then copied into the build context.
43
ARG BASE_IMAGE
54
FROM $BASE_IMAGE
65

@@ -16,6 +15,7 @@ LABEL \
1615

1716

1817
# The coder binary is available in the build context.
18+
ARG TARGETARCH
1919
COPY --chown=1000:1000 --chmod=755 coder_linux_${TARGETARCH} /opt/coder
2020

2121
ENTRYPOINT [ "/opt/coder", "server" ]

0 commit comments

Comments
 (0)