Skip to content

Instantly share code, notes, and snippets.

@aubuchcl
Created October 1, 2021 21:36
Show Gist options
  • Save aubuchcl/e4c2cab24101056a6db62bb8b75bc10b to your computer and use it in GitHub Desktop.
Save aubuchcl/e4c2cab24101056a6db62bb8b75bc10b to your computer and use it in GitHub Desktop.
Docker Linux GUI w VScode - browser
FROM dorowu/ubuntu-desktop-lxde-vnc:focal
WORKDIR /root/project
RUN apt update && \
apt install -y build-essential
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg && \
install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/ && \
sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' && \
apt-get install apt-transport-https && \
apt-get update && \
apt-get install code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment