File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ ENV HOME="/workspace"
1515RUN echo "**** install runtime dependencies ****" && \
1616 apt-get update && \
1717 apt-get install -y \
18+ git \
1819 libatomic1 \
1920 nano \
2021 net-tools \
21- netcat-openbsd \
22+ netcat-traditional \
2223 sudo && \
2324 \
2425 echo "**** install code-server ****" && \
@@ -27,9 +28,10 @@ RUN echo "**** install runtime dependencies ****" && \
2728 | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||' ); \
2829 fi && \
2930 mkdir -p /app/code-server && \
30- curl -o /tmp/ code-server.tar.gz -L \
31- "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/ code-server-${CODE_RELEASE}-linux-amd64 .tar.gz" && \
31+ DOWNLOAD_URL= "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/ code-server-${CODE_RELEASE}-linux-amd64 .tar.gz" && \
32+ curl -fsSL -o /tmp/ code-server.tar.gz "${DOWNLOAD_URL} " && \
3233 tar xf /tmp/code-server.tar.gz -C /app/code-server --strip-components=1 && \
34+ /app/code-server/bin/code-server --version && \
3335 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
3436 \
3537 echo "**** clean up ****" && \
You can’t perform that action at this time.
0 commit comments