vscode 1.7.1 (#204)

This commit is contained in:
Christian 2016-11-09 22:04:37 +01:00 committed by Jess Frazelle
parent 960b302cc2
commit 22efd208e5
2 changed files with 7 additions and 3 deletions

View File

@ -41,6 +41,7 @@ RUN apt-get update && apt-get install -y \
libxi6 \ libxi6 \
libxrandr2 \ libxrandr2 \
libxrender1 \ libxrender1 \
libxss1 \
libxtst6 \ libxtst6 \
liblzma5 \ liblzma5 \
--no-install-recommends --no-install-recommends
@ -49,7 +50,9 @@ ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \ RUN useradd --create-home --home-dir $HOME user \
&& chown -R user:user $HOME && chown -R user:user $HOME
ENV CODE_VERSION 1.5.3-1474533365 ENV CODE_VERSION 1.7.1-1478180561
ENV CODE_COMMIT 02611b40b24c9df2726ad8b33f5ef5f67ac30b44
# download the source # download the source
RUN buildDeps=' \ RUN buildDeps=' \
ca-certificates \ ca-certificates \
@ -61,7 +64,7 @@ RUN buildDeps=' \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \ && curl -sL https://deb.nodesource.com/setup_6.x | bash - \
&& apt-get update && apt-get install -y nodejs --no-install-recommends \ && apt-get update && apt-get install -y nodejs --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& curl -sSL "https://az764295.vo.msecnd.net/stable/5be4091987a98e3870d89d630eb87be6d9bafd27/code_${CODE_VERSION}_amd64.deb" -o /tmp/vs.deb \ && curl -sSL "https://az764295.vo.msecnd.net/stable/${CODE_COMMIT}/code_${CODE_VERSION}_amd64.deb" -o /tmp/vs.deb \
&& dpkg -i /tmp/vs.deb \ && dpkg -i /tmp/vs.deb \
&& rm -rf /tmp/vs.deb \ && rm -rf /tmp/vs.deb \
&& apt-get purge -y --auto-remove $buildDeps && apt-get purge -y --auto-remove $buildDeps

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
su user -c /usr/src/VSCode-linux-x64/code su user -c /usr/bin/code
sleep infinity