A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
# Set the base image to use to Ubuntu
# Update the repository
RUN apt-get update
# Install stuff
RUN DEBIAN_FRONTEND=noninteractive apt-get -qy install postgresql curl
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yq ruby rails
sudo docker build -t rails - < Dockerfile