Archived
1
0

Add github release creation

This commit is contained in:
Anmol Sethi
2020-02-14 21:32:07 -05:00
parent 61d1af0413
commit 0d31a51eeb
5 changed files with 123 additions and 54 deletions

1
ci/release-image/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
code-server*.tar.gz

View File

@ -3,11 +3,10 @@ FROM debian:10
RUN apt-get update
RUN apt-get install -y curl
ARG DOWNLOAD_URL=https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz
RUN cd /tmp && curl -L "$DOWNLOAD_URL" | \
tar -xz && \
COPY code-server*.tar.gz /tmp
RUN cd /tmp && tar -xzf code-server*.tar.gz && \
cp code-server*/code-server /usr/local/bin/code-server
RUN rm -rf /tmp/*
# https://wiki.debian.org/Locale#Manually
RUN apt-get install -y locales