mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
Update Visual Studio Code to 1.2 (#154)
This commit is contained in:
parent
18b8688013
commit
2775f5cb90
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
su user -c /usr/src/VSCode-linux-x64/Code
|
|
|
@ -2,11 +2,12 @@
|
||||||
# NOTE: Needs the redering device (yeah... idk)
|
# NOTE: Needs the redering device (yeah... idk)
|
||||||
#
|
#
|
||||||
# docker run -d \
|
# docker run -d \
|
||||||
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
# -v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
# -e DISPLAY=unix$DISPLAY \
|
# -v $HOME:/home/user \
|
||||||
# --device /dev/dri \
|
# -e DISPLAY=unix$DISPLAY \
|
||||||
# --name visualstudio \
|
# --device /dev/dri \
|
||||||
# jess/visualstudio
|
# --name vscode \
|
||||||
|
# jess/vscode
|
||||||
|
|
||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
@ -29,6 +30,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
libgtk2.0-0 \
|
libgtk2.0-0 \
|
||||||
libgpg-error0 \
|
libgpg-error0 \
|
||||||
libgraphite2-3 \
|
libgraphite2-3 \
|
||||||
|
libnotify-bin \
|
||||||
libnss3 \
|
libnss3 \
|
||||||
libnspr4 \
|
libnspr4 \
|
||||||
libpango-1.0-0 \
|
libpango-1.0-0 \
|
||||||
|
@ -58,7 +60,7 @@ RUN buildDeps=' \
|
||||||
&& curl -sL https://deb.nodesource.com/setup | bash - \
|
&& curl -sL https://deb.nodesource.com/setup | 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/public/0.10.6-release/VSCode-linux64.zip -o /tmp/vs.zip \
|
&& curl -sSL https://az764295.vo.msecnd.net/stable/fe7f407b95b7f78405846188259504b34ef72761/VSCode-linux-x64-stable.zip -o /tmp/vs.zip \
|
||||||
&& unzip /tmp/vs.zip -d /usr/src/ \
|
&& unzip /tmp/vs.zip -d /usr/src/ \
|
||||||
&& rm -rf /tmp/vs.zip \
|
&& rm -rf /tmp/vs.zip \
|
||||||
&& apt-get purge -y --auto-remove $buildDeps
|
&& apt-get purge -y --auto-remove $buildDeps
|
3
vscode/start.sh
Executable file
3
vscode/start.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
su user -c /usr/src/VSCode-linux-x64/code
|
Loading…
Reference in New Issue
Block a user