From 744327ffd497821181fe6e0e2e3540cd189ea845 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 4 Mar 2020 16:02:25 -0600 Subject: [PATCH] Update release dockerfile to use a symlink --- ci/release-image/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/release-image/Dockerfile b/ci/release-image/Dockerfile index dcd2be3d..d9991e4c 100644 --- a/ci/release-image/Dockerfile +++ b/ci/release-image/Dockerfile @@ -26,11 +26,10 @@ RUN curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.4/fixuid-0. RUN rm -rf /var/lib/apt/lists/* -COPY release/code-server*.tar.gz /tmp +COPY release/code-server*.tar.gz /tmp/ RUN cd /tmp && tar -xzf code-server*.tar.gz && rm code-server*.tar.gz && \ mv code-server* /usr/local/lib/code-server && \ - sed 's/\$0/\/usr\/local\/lib\/code-server\/code-server/g' /usr/local/lib/code-server/code-server > /usr/local/bin/code-server && \ - chmod +x /usr/local/bin/code-server + ln -s /usr/local/lib/code-server/code-server /usr/local/bin/code-server EXPOSE 8080 USER coder