You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
running docker-compose -f docker-compose.yml.production-example build --no-cache
results in
Step 6/9 : RUN export NOKOGIRI_USE_SYSTEM_LIBRARIES=1; bundle install --jobs=3 --retry=3 --without test development
---> Running in 1b63bad22a26
Following files may not be writable, so sudo is needed:
/usr/bin
/usr/lib64/ruby/gems/2.5.0
/usr/lib64/ruby/gems/2.5.0/build_info
/usr/lib64/ruby/gems/2.5.0/cache
/usr/lib64/ruby/gems/2.5.0/doc
/usr/lib64/ruby/gems/2.5.0/extensions
/usr/lib64/ruby/gems/2.5.0/gems
/usr/lib64/ruby/gems/2.5.0/specifications
Your Ruby version is 2.5.8, but your Gemfile specified 2.5.0
ERROR: Service 'production_web' failed to build: The command '/bin/sh -c export NOKOGIRI_USE_SYSTEM_LIBRARIES=1; bundle install --jobs=3 --retry=3 --without test development' returned a non-zero code: 18
I also tried to change to ruby '2.5.8'
which results in:
Installing prawn-rails 1.2.0
Installing devise_ichain_authenticatable 0.3.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/bundler20201106-6-1x2m5fmpg-1.1.4/gems/pg-1.1.4/ext
/usr/bin/ruby.ruby2.5 -r ./siteconf20201106-6-18mpgvm.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Expected correct behavior:
build succeeds
Steps to reproduce:
git clone https://github.com/openSUSE/osem.git
cd osem
cp dotenv.example .env.production
docker-compose -f docker-compose.yml.production-example build
The text was updated successfully, but these errors were encountered:
I'm submitting a ..
Current behavior:
running
docker-compose -f docker-compose.yml.production-example build --no-cache
results in
I also tried to change to
ruby '2.5.8'
which results in:
Expected correct behavior:
build succeeds
Steps to reproduce:
The text was updated successfully, but these errors were encountered: