dockerfiles/visualstudio/Dockerfile
Jessica Frazelle 748d8f9383 add apt-file
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-06-09 13:36:34 -07:00

31 lines
679 B
Docker

FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
build-essential \
ca-certificates \
curl \
libasound2 \
libgconf-2-4 \
libgnome-keyring-dev \
libgtk2.0-0 \
libnss3 \
libpci3 \
libxtst6 \
unzip \
zip \
--no-install-recommends
# install node
RUN curl -sL https://deb.nodesource.com/setup | bash -
RUN apt-get update && apt-get install -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# download the source
RUN curl -sSL https://jesss.s3.amazonaws.com/binaries/VSCode-linux-x64.zip -o /tmp/vs.zip \
&& unzip /tmp/vs.zip -d /usr/src/ \
&& rm -rf /tmp/vs.zip
ENTRYPOINT [ "/usr/src/VSCode-linux-x64/Code" ]