Created
September 1, 2020 12:54
-
-
Save aharonamir/4f439ae48af550694112eaa6ed65495c to your computer and use it in GitHub Desktop.
vscode-remote-develop Dockerfile
This file contains hidden or 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 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