We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ARG TARGETARCH
1 parent e617f33 commit e0d28a2Copy full SHA for e0d28a2
scripts/Dockerfile.multiarch
@@ -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.
+# This is the multi-arch Dockerfile used for Coder. All binaries are built
+# using the go toolchain on the host and then copied into the build context.
4
ARG BASE_IMAGE
5
FROM $BASE_IMAGE
6
@@ -16,6 +15,7 @@ LABEL \
16
15
17
18
# The coder binary is available in the build context.
+ARG TARGETARCH
19
COPY --chown=1000:1000 --chmod=755 coder_linux_${TARGETARCH} /opt/coder
20
21
ENTRYPOINT [ "/opt/coder", "server" ]
0 commit comments