Skip to content

Instantly share code, notes, and snippets.

@Gurpartap
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gurpartap/6462e56f9341a88bd891 to your computer and use it in GitHub Desktop.
Save Gurpartap/6462e56f9341a88bd891 to your computer and use it in GitHub Desktop.
docker build ./sample-app
Sending build context to Docker daemon 4.608 kB
Sending build context to Docker daemon
Step 0 : FROM gurpartap/ruby-build:2.1.2
---> 5c56e02d05ba
Step 1 : RUN mkdir /app
---> Running in 0a041a4be9b5
---> 9fc3f783bf3c
Removing intermediate container 0a041a4be9b5
Step 2 : WORKDIR /app
---> Running in 41c90ff81f3c
---> ee7308cc17d1
Removing intermediate container 41c90ff81f3c
Step 3 : ADD Gemfile /app/Gemfile
---> 9f35cd8ea75d
Removing intermediate container f3b34ce64ddb
Step 4 : RUN bundle install
---> Running in deca73d0c682
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Installing rake 10.3.2
Using bundler 1.7.2
Installing daemons 1.1.9
Installing eventmachine 1.0.3
Installing rack 1.5.2
Installing rack-protection 1.5.3
Installing tilt 1.4.1
Installing sinatra 1.4.5
Installing thin 1.6.2
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
---> 0d21c9d242b2
Removing intermediate container deca73d0c682
Step 5 : ADD . /app
---> eb863f7eb828
Removing intermediate container 6da41f477f4a
Step 6 : EXPOSE 3000
---> Running in 305c5518412c
---> cc0ec84f2dcc
Removing intermediate container 305c5518412c
Step 7 : CMD bundle exec thin start
---> Running in eb74e494950f
---> b07106671777
Removing intermediate container eb74e494950f
Successfully built b07106671777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment