/dockerfiles

dockerfiles for various things - subject to change!

Primary LanguageShellMIT LicenseMIT

dockerfiles

for various things

credits

Shamelessly stolen from: https://github.com/cambridge-healthcare/dockerfiles. I seem to be messing around with a lot of their stuff atm!

MySQL Dockerfile is from the excellent fglio.com blog post on creating a MySQL containter

instructions

To build locally:

docker build -rm -t roovo/ubuntu:12.04            ./ubuntu.12.04
docker build -rm -t roovo/ruby-build:20140110.1   ./ruby-build\:20140110.1
docker build -rm -t roovo/ruby-1.9.3:p484         ./ruby-1.9.3
docker build -rm -t roovo/ruby-2.1.0              ./ruby-2.1.0

docker build -rm -t roovo/mysql:5.5               ./mysql.5.5

To run the mysql container (persisting data in /data/mysql on the host):

docker run -d -p 3306:3306 -v /data/mysql:/var/lib/mysql roovo/mysql:5.5