-
-
Save itssomething/3bf6d44cb417f50e66676a4508d47ef0 to your computer and use it in GitHub Desktop.
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
sudo docker-compose build | |
db uses an image, skipping | |
Building web | |
Step 1/13 : FROM ruby:2.6-alpine | |
---> 6ddb199f039f | |
Step 2/13 : RUN apk update -qq && apk add nodejs postgresql-client gcc make ruby-dev | |
---> Running in fc796ed75f6a | |
(1/21) Installing binutils (2.32-r0) | |
(2/21) Installing isl (0.18-r0) | |
(3/21) Installing libgomp (8.3.0-r0) | |
(4/21) Installing libatomic (8.3.0-r0) | |
(5/21) Installing mpfr3 (3.1.5-r1) | |
(6/21) Installing mpc1 (1.1.0-r0) | |
(7/21) Installing gcc (8.3.0-r0) | |
(8/21) Installing make (4.2.1-r2) | |
(9/21) Installing c-ares (1.15.0-r0) | |
(10/21) Installing http-parser (2.9.2-r0) | |
(11/21) Installing libuv (1.29.1-r0) | |
(12/21) Installing nodejs (10.16.3-r0) | |
(13/21) Installing libedit (20190324.3.1-r0) | |
(14/21) Installing db (5.3.28-r1) | |
(15/21) Installing libsasl (2.1.27-r3) | |
(16/21) Installing libldap (2.4.48-r0) | |
(17/21) Installing libpq (11.5-r0) | |
(18/21) Installing postgresql-client (11.5-r0) | |
(19/21) Installing ruby-libs (2.5.5-r0) | |
(20/21) Installing ruby (2.5.5-r0) | |
(21/21) Installing ruby-dev (2.5.5-r0) | |
Executing busybox-1.30.1-r2.trigger | |
OK: 153 MiB in 58 packages | |
Removing intermediate container fc796ed75f6a | |
---> 5c4ad9426965 | |
Step 3/13 : RUN mkdir /myapp | |
---> Running in 06f36502ee22 | |
Removing intermediate container 06f36502ee22 | |
---> 158f311c7c0c | |
Step 4/13 : WORKDIR /myapp | |
---> Running in 3ba9df1e72f4 | |
Removing intermediate container 3ba9df1e72f4 | |
---> afccb074cbd1 | |
Step 5/13 : COPY Gemfile /myapp/Gemfile | |
---> 5504e59b3541 | |
Step 6/13 : COPY Gemfile.lock /myapp/Gemfile.lock | |
---> fb68654c8aa8 | |
Step 7/13 : RUN bundle install | |
---> Running in 724606e54f28 | |
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. | |
Fetching gem metadata from https://rubygems.org/............ | |
Fetching rake 12.3.3 | |
Installing rake 12.3.3 | |
Fetching concurrent-ruby 1.1.5 | |
Installing concurrent-ruby 1.1.5 | |
Fetching i18n 1.6.0 | |
Installing i18n 1.6.0 | |
Fetching minitest 5.11.3 | |
Installing minitest 5.11.3 | |
Fetching thread_safe 0.3.6 | |
Installing thread_safe 0.3.6 | |
Fetching tzinfo 1.2.5 | |
Installing tzinfo 1.2.5 | |
Fetching zeitwerk 2.1.9 | |
Installing zeitwerk 2.1.9 | |
Fetching activesupport 6.0.0.rc1 | |
Installing activesupport 6.0.0.rc1 | |
Fetching builder 3.2.3 | |
Installing builder 3.2.3 | |
Fetching erubi 1.8.0 | |
Installing erubi 1.8.0 | |
Fetching mini_portile2 2.4.0 | |
Installing mini_portile2 2.4.0 | |
Fetching nokogiri 1.10.4 | |
Installing nokogiri 1.10.4 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /usr/local/bundle/gems/nokogiri-1.10.4/ext/nokogiri | |
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.6.0 -r | |
./siteconf20190829-1-y8oihv.rb extconf.rb | |
checking if the C compiler accepts ... *** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: | |
--with-opt-dir | |
--without-opt-dir | |
--with-opt-include | |
--without-opt-include=${opt-dir}/include | |
--with-opt-lib | |
--without-opt-lib=${opt-dir}/lib | |
--with-make-prog | |
--without-make-prog | |
--srcdir=. | |
--curdir | |
--ruby=/usr/local/bin/$(RUBY_BASE_NAME) | |
--help | |
--clean | |
/usr/local/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to | |
generate an executable file. (RuntimeError) | |
You have to install development tools first. | |
from /usr/local/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile' | |
from /usr/local/lib/ruby/2.6.0/mkmf.rb:532:in `with_werror' | |
from /usr/local/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile' | |
from extconf.rb:138:in `nokogiri_try_compile' | |
from extconf.rb:162:in `block in add_cflags' | |
from /usr/local/lib/ruby/2.6.0/mkmf.rb:643:in `with_cflags' | |
from extconf.rb:161:in `add_cflags' | |
from extconf.rb:416:in `<main>' | |
To see why this extension failed to compile, please check the mkmf.log which can | |
be found here: | |
/usr/local/bundle/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/mkmf.log | |
extconf failed, exit code 1 | |
Gem files will remain installed in /usr/local/bundle/gems/nokogiri-1.10.4 for | |
inspection. | |
Results logged to | |
/usr/local/bundle/extensions/x86_64-linux/2.6.0/nokogiri-1.10.4/gem_make.out | |
An error occurred while installing nokogiri (1.10.4), and Bundler cannot | |
continue. | |
Make sure that `gem install nokogiri -v '1.10.4' --source | |
'https://rubygems.org/'` succeeds before bundling. | |
In Gemfile: | |
rails was resolved to 6.0.0.rc1, which depends on | |
actioncable was resolved to 6.0.0.rc1, which depends on | |
actionpack was resolved to 6.0.0.rc1, which depends on | |
actionview was resolved to 6.0.0.rc1, which depends on | |
rails-dom-testing was resolved to 2.0.3, which depends on | |
nokogiri | |
ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment