Skip to content

Instantly share code, notes, and snippets.

@aharonamir
Created September 1, 2020 12:54
Show Gist options
  • Save aharonamir/4f439ae48af550694112eaa6ed65495c to your computer and use it in GitHub Desktop.
Save aharonamir/4f439ae48af550694112eaa6ed65495c to your computer and use it in GitHub Desktop.
vscode-remote-develop Dockerfile
FROM aharonamir/vscode-remote-gcc-vcpkg
# install project specific dependencies
# install deb packages
USER root
COPY ./script/install-deb-dependencies.sh /usr/
RUN chmod +x /usr/install-deb-dependencies.sh
RUN apt-get update
RUN /usr/install-deb-dependencies.sh
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# now add vcpkg packages
COPY ./script/install-vcpkg-dependencies.sh /tmp/
RUN chmod +x /tmp/install-vcpkg-dependencies.sh
# install vcpkg packages
USER vscode
WORKDIR /home/vscode
RUN /tmp/install-vcpkg-dependencies.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment