File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ ARG ECR_URI=${ECR_ACCOUNT_ID}.dkr.ecr-fips.${ECR_REGION}.amazonaws.com/${BASE_IM
99
1010FROM ${ECR_URI} as docker-code-server-python
1111
12+ ARG DEBIAN_FRONTEND="noninteractive"
13+
1214# Install Python 3.12
1315RUN echo "**** install Python 3.12 ****" && \
1416 apt-get update && \
@@ -54,19 +56,18 @@ RUN echo "**** install runtime dependencies ****" && \
5456 net-tools \
5557 netcat-openbsd \
5658 sudo && \
57- \
5859 echo "**** install code-server ****" && \
5960 if [ -z ${CODE_RELEASE+x} ]; then \
6061 CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
6162 | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||' ); \
6263 fi && \
6364 mkdir -p /app/code-server && \
64- DOWNLOAD_URL="https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && \
65- curl -fsSL -o /tmp/code-server.tar.gz "${DOWNLOAD_URL}" && \
66- tar xf /tmp/code-server.tar.gz -C /app/code-server --strip-components=1 && \
67- /app/code-server/bin/code-server --version && \
65+ curl -o \
66+ /tmp/code-server.tar.gz -L \
67+ "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && \
68+ tar xf /tmp/code-server.tar.gz -C \
69+ /app/code-server --strip-components=1 && \
6870 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
69- \
7071 echo "**** clean up ****" && \
7172 apt-get clean && \
7273 rm -rf \
You can’t perform that action at this time.
0 commit comments