File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
codeserver/ubi9-python-3.12 Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/oc
29
29
####################
30
30
FROM base AS codeserver
31
31
32
+ ARG TARGETOS TARGETARCH
33
+
32
34
ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12
33
35
ARG CODESERVER_VERSION=v4.98.0
34
36
@@ -50,7 +52,7 @@ WORKDIR /opt/app-root/bin
50
52
RUN dnf install -y jq git-lfs libsndfile && dnf clean all && rm -rf /var/cache/yum
51
53
52
54
# Install code-server
53
- RUN yum install -y "https://github.com/coder/code-server/releases/download/${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION/v/}-amd64 .rpm" && \
55
+ RUN yum install -y "https://github.com/coder/code-server/releases/download/${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION/v/}-${TARGETARCH} .rpm" && \
54
56
yum -y clean all --enablerepo='*'
55
57
56
58
COPY --chown=1001:0 ${CODESERVER_SOURCE_CODE}/utils utils/
You can’t perform that action at this time.
0 commit comments