Created
October 16, 2014 16:08
-
-
Save ushu/5bb4ea0c4ef9a8299437 to your computer and use it in GitHub Desktop.
Another Dockerfile to run compiled program
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 ubuntu:trusty | |
RUN apt-get update | |
# C/C++ | |
RUN apt-get install -y build-essential | |
# Ruby | |
RUN apt-get install -y ruby | |
# Python | |
RUN apt-get install -y python | |
# Create a /code directory & mount point | |
RUN mkdir -p /code | |
VOLUME [ "/code" ] | |
# Add the build.sh runner script | |
ADD build.sh /build.sh | |
RUN chmod +x /build.sh | |
ENTRYPOINT [ "/build.sh" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment