Last active
August 22, 2017 20:22
-
-
Save kkallday/f612b37742634a28cc1a664c7a0b1b32 to your computer and use it in GitHub Desktop.
Dockerfile for CS8803 Graduate Intro to Operating Systems
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
Prerequisites: | |
- Docker (https://www.docker.com/) | |
To build image: | |
1. Run `docker build --file <path to Dockerfile above> .` (don't forget the period at the end of the command) | |
1. Find image ID by running `docker images`. It will also be printed at the end of the command ran in Step 1. | |
1. Run `docker run -it <image ID> /bin/bash` to have a command-line session in contain. | |
BEWARE: when you exit the container all data will be lost. You *MUST* save your work to a volume mounted location in the container! |
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 ubuntu:16.04 | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
bzip2 \ | |
gcc-multilib \ | |
git \ | |
imagemagick \ | |
libcurl4-openssl-dev \ | |
libffi6 \ | |
libffi-dev \ | |
libgmp-dev \ | |
libmagickcore-dev \ | |
libopenmpi-dev \ | |
libssl-dev \ | |
llvm \ | |
openmpi-bin \ | |
openmpi-doc \ | |
pkg-config \ | |
portmap \ | |
python-dev \ | |
python-pip \ | |
rpcbind \ | |
software-properties-common \ | |
unzip \ | |
valgrind \ | |
zip | |
RUN pip install --upgrade pip | |
RUN pip install \ | |
requests \ | |
future \ | |
cryptography \ | |
pyopenssl \ | |
ndg-httpsclient \ | |
pyasn1 \ | |
nelson |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment