Skip to content

Instantly share code, notes, and snippets.

@jonniesweb
Last active October 6, 2016 16:38
Show Gist options
  • Save jonniesweb/140c584ecd01f48209199ef5b3c023d6 to your computer and use it in GitHub Desktop.
Save jonniesweb/140c584ecd01f48209199ef5b3c023d6 to your computer and use it in GitHub Desktop.
A simple dockerfile for developing and running Cilk applications

Building

docker build -f Dockerfile.cilk -t cilk

Running

docker run -it cilk

# Ubuntu 16.04 has the GCC cilk compiler built in to version 5.4, we just need to install it
FROM ubuntu:16.04
# install g++ and vim
RUN apt-get update && \
apt-get install -y g++ vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment