Skip to content

Instantly share code, notes, and snippets.

@CQBinh
Created May 4, 2016 15:38
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 CQBinh/5fd890b9ba1cfcac63ae42af28105148 to your computer and use it in GitHub Desktop.
Save CQBinh/5fd890b9ba1cfcac63ae42af28105148 to your computer and use it in GitHub Desktop.
Sending build context to Docker daemon 95.74 kB
Step 1 : FROM ubuntu:14.04
14.04: Pulling from library/ubuntu
6599cadaf950: Pull complete
23eda618d451: Pull complete
f0be3084efe9: Pull complete
52de432f084b: Pull complete
a3ed95caeb02: Pull complete
Digest: sha256:15b79a6654811c8d992ebacdfbd5152fcf3d165e374e264076aa435214a947a3
Status: Downloaded newer image for ubuntu:14.04
 ---> 90d5884b1ee0
Step 2 : FROM ruby:2.3
2.3: Pulling from library/ruby
efd26ecc9548: Pull complete
a3ed95caeb02: Pull complete
d1784d73276e: Pull complete
72e581645fc3: Pull complete
3e126ae08dbf: Pull complete
39d4f39aec78: Pull complete
477f45490851: Pull complete
4dbf4618afe1: Pull complete
e575d96832f5: Pull complete
Digest: sha256:706f451d250451bb812783461ac72373806ff15ca132bc88c93141e8f05f012c
Status: Downloaded newer image for ruby:2.3
 ---> 5cd7a8f22b59
Step 3 : RUN apt-get update && apt-get install -y   build-essential   nodejs
 ---> Running in d7626856fb37
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [298 kB]
Get:3 http://httpredir.debian.org jessie-updates InRelease [142 kB]
Get:4 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:5 http://httpredir.debian.org jessie Release [148 kB]
Get:6 http://httpredir.debian.org jessie-updates/main amd64 Packages [9283 B]
Get:7 http://httpredir.debian.org jessie/main amd64 Packages [9034 kB]
Fetched 9698 kB in 10s (957 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libc-ares2 libdpkg-perl libfakeroot
  libfile-fcntllock-perl libtimedate-perl libv8-3.14.5
Suggested packages:
  debian-keyring
The following NEW packages will be installed:
  build-essential dpkg-dev fakeroot libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-ares2 libdpkg-perl
  libfakeroot libfile-fcntllock-perl libtimedate-perl libv8-3.14.5 nodejs
0 upgraded, 13 newly installed, 0 to remove and 9 not upgraded.
Need to get 4903 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main libc-ares2 amd64 1.10.0-2 [76.7 kB]
Get:2 http://httpredir.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main libdpkg-perl all 1.17.26 [1072 kB]
Get:4 http://httpredir.debian.org/debian/ jessie/main dpkg-dev all 1.17.26 [1545 kB]
Get:5 http://httpredir.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B]
Get:6 http://httpredir.debian.org/debian/ jessie/main libfakeroot amd64 1.20.2-1 [44.7 kB]
Get:7 http://httpredir.debian.org/debian/ jessie/main fakeroot amd64 1.20.2-1 [84.7 kB]
Get:8 http://httpredir.debian.org/debian/ jessie/main libalgorithm-diff-perl all 1.19.02-3 [51.7 kB]
Get:9 http://httpredir.debian.org/debian/ jessie/main libalgorithm-diff-xs-perl amd64 0.04-3+b1 [12.2 kB]
Get:10 http://httpredir.debian.org/debian/ jessie/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:11 http://httpredir.debian.org/debian/ jessie/main libfile-fcntllock-perl amd64 0.22-1+b1 [36.4 kB]
Get:12 http://httpredir.debian.org/debian/ jessie/main libv8-3.14.5 amd64 3.14.5.8-8.1 [1269 kB]
Get:13 http://httpredir.debian.org/debian/ jessie/main nodejs amd64 0.10.29~dfsg-2 [648 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4903 kB in 5s (894 kB/s)
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 21085 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.10.0-2) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.26_all.deb ...
Unpacking libdpkg-perl (1.17.26) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.26_all.deb ...
Unpacking dpkg-dev (1.17.26) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-3+b1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-3+b1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-1+b1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-1+b1) ...
Selecting previously unselected package libv8-3.14.5.
Preparing to unpack .../libv8-3.14.5_3.14.5.8-8.1_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-8.1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_0.10.29~dfsg-2_amd64.deb ...
Unpacking nodejs (0.10.29~dfsg-2) ...
Setting up libc-ares2:amd64 (1.10.0-2) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libdpkg-perl (1.17.26) ...
Setting up dpkg-dev (1.17.26) ...
Setting up build-essential (11.7) ...
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-3+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.22-1+b1) ...
Setting up libv8-3.14.5 (3.14.5.8-8.1) ...
Setting up nodejs (0.10.29~dfsg-2) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for libc-bin (2.19-18+deb8u4) ...
 ---> 885f17121b64
Removing intermediate container d7626856fb37
Step 4 : RUN mkdir -p /app
 ---> Running in 554a433f6d28
 ---> b30fcd534e9d
Removing intermediate container 554a433f6d28
Step 5 : WORKDIR /app
 ---> Running in 9d80bcaa66b2
 ---> 425908ddb533
Removing intermediate container 9d80bcaa66b2
Step 6 : COPY Gemfile Gemfile.lock ./
 ---> 337b5d8b9461
Removing intermediate container 9c36724e4ed7
Step 7 : RUN gem install bundler && bundle install --jobs 20 --retry 5
 ---> Running in 1051c31a678f
Successfully installed bundler-1.12.1
1 gem installed
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Using json 1.8.3
Using bundler 1.12.1
Installing mini_portile2 2.0.0
Installing arel 6.0.3
Installing debug_inspector 0.0.2 with native extensions
Installing i18n 0.7.0
Installing minitest 5.8.4
Installing multi_json 1.12.0
Installing byebug 8.2.5 with native extensions
Installing mime-types-data 3.2016.0221
Installing rake 11.1.2
Installing rack 1.6.4
Installing coffee-script-source 1.10.0
Installing builder 3.2.2
Installing tilt 2.0.2
Installing erubis 2.7.0
Installing thread_safe 0.3.5
Installing execjs 2.6.0
Installing thor 0.19.1
Installing binding_of_caller 0.7.2 with native extensions
Installing sqlite3 1.3.11 with native extensions
Installing concurrent-ruby 1.0.2
Installing sass 3.4.22
Installing rdoc 4.2.2
Installing spring 1.7.1
Installing rack-test 0.6.3
Installing uglifier 3.0.0
Installing tzinfo 1.2.2
Installing mime-types 3.0
Installing coffee-script 2.4.1
Installing sprockets 3.6.0
Installing sdoc 0.4.1
Installing mail 2.6.4
Installing activesupport 4.2.6
Installing globalid 0.3.6
Installing activemodel 4.2.6
Installing rails-deprecated_sanitizer 1.0.3
Installing jbuilder 2.4.1
Installing activejob 4.2.6
Installing activerecord 4.2.6
Installing nokogiri 1.6.7.2 with native extensions
Installing loofah 2.0.3
Installing rails-html-sanitizer 1.0.3
Installing rails-dom-testing 1.0.7
Installing actionview 4.2.6
Installing actionpack 4.2.6
Installing sprockets-rails 3.0.4
Installing actionmailer 4.2.6
Installing railties 4.2.6
Installing sass-rails 5.0.4
Installing coffee-rails 4.1.1
Installing web-console 2.3.0
Installing jquery-rails 4.1.1
Installing turbolinks 2.5.3
Installing rails 4.2.6
Bundle complete! 12 Gemfile dependencies, 55 gems now installed.
Bundled gems are installed into /usr/local/bundle.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
 ---> e42f6a7c23a3
Removing intermediate container 1051c31a678f
Step 8 : COPY . ./
 ---> 6e1db58c74e1
Removing intermediate container aeaabb3c0bef
Step 9 : EXPOSE 3000
 ---> Running in 5ce6705db898
 ---> 863c0effd9aa
Removing intermediate container 5ce6705db898
Step 10 : CMD bundle exec rails server -b 0.0.0.0
 ---> Running in 6831362fa818
 ---> 69377e02920b
Removing intermediate container 6831362fa818
Successfully built 69377e02920b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment