Created
October 1, 2021 21:36
-
-
Save aubuchcl/e4c2cab24101056a6db62bb8b75bc10b to your computer and use it in GitHub Desktop.
Docker Linux GUI w VScode - browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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