Skip to content

Instantly share code, notes, and snippets.

@kkallday
Last active August 22, 2017 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkallday/f612b37742634a28cc1a664c7a0b1b32 to your computer and use it in GitHub Desktop.
Save kkallday/f612b37742634a28cc1a664c7a0b1b32 to your computer and use it in GitHub Desktop.
Dockerfile for CS8803 Graduate Intro to Operating Systems
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!
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