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
#/bin/env bash | |
# Builds the docker image and pushs to | |
# repository (local by default) | |
# Usage: | |
# build_and_push <directory of Dockerfile> <resultant docker image name> | |
DOCKERFILE_DIRECTORY=$1 | |
DOCKER_IMAGE_NAME=$2 |
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
# docker image for running CC test suite | |
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get -y install wget | |
RUN apt-get -y install git | |
# install Ruby 1.9.3-p484 | |
RUN apt-get -y install build-essential zlib1g-dev libreadline-dev libssl-dev libcurl4-openssl-dev |