Skip to content

Instantly share code, notes, and snippets.

@capoferro
Created July 14, 2014 23:00
Show Gist options
  • Save capoferro/9e75a448a5cb4c847446 to your computer and use it in GitHub Desktop.
Save capoferro/9e75a448a5cb4c847446 to your computer and use it in GitHub Desktop.
# http://docs.docker.com/reference/builder/
# FROM - what is the base image for this Dockerfile?
FROM ubuntu
# MAINTAINER - who owns this Dockerfile?
MAINTAINER Josiah Kiehl
# Install Ruby
RUN apt-get install build-essential ruby ruby-dev -y
# Install the 'httparty' gem
RUN gem install httparty
# Add the application
ADD telephone.rb /
# Add a CMD
CMD ruby /telephone.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment