Docker container for an OCaml + OPAM setup
Shell
Pull request Compare This branch is 5 commits ahead, 53 commits behind avsm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
base
.gitignore
Dockerfile
README.md
make.sh

README.md

Builds a docker container with a basic Ubuntu, OPAM and a customisable set of OPAM packages installed.

instructions:

  • install Docker (curl -s http://get.docker.io/ubuntu/ | sudo sh on Ubuntu or see http://docs.docker.io/en/latest/installation/)
  • add the needed users to the docker group
  • clone this repo
  • run the build: ./make.sh opamdock/browse ocp-browser ocp-index curses First argument is the name of your docker container, second is the default command to run, and then a list of opam packages. This will make a local mirror of the needed package archives, then create the docker container
  • run your container: docker run -t -i opamdock/browse -t and -i are needed to bind a terminal to the docker instance.