Skip to content

Instantly share code, notes, and snippets.

@aharonamir
Created December 13, 2017 09:44
Show Gist options
  • Save aharonamir/3305f8d7af59bae9841352cbaf037d93 to your computer and use it in GitHub Desktop.
Save aharonamir/3305f8d7af59bae9841352cbaf037d93 to your computer and use it in GitHub Desktop.
FROM aharonamir/dev-cpp:4.9
USER root
COPY ./doc/install-dependencies.sh /usr/
RUN chmod +x /usr/install-dependencies.sh
RUN apt-get update
RUN /usr/install-dependencies.sh
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
USER develop
EXPOSE [ your application port/s here]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment