Have you checked that your issue isn't already filed?
Bug description
I use "docker compose up --build", the error is "Could not find nokogiri-1.18.9-aarch64-linux-gnu, minitest-5.25.5, ffi-1.17.2-aarch64-linux-gnu in locally installed gems (Bundler::GemNotFound)"
How to reproduce the bug
use docker compose up --build
Error messages and logs
docker compose up --build
[+] Building 4.1s (18/18) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 515B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.44kB 0.0s
=> [internal] load metadata for docker.io/library/ruby:slim 3.7s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 61B 0.0s
=> [ 1/11] FROM docker.io/library/ruby:slim@sha256:f3207b8383a8ed08a043e960984b756a957f05217f1724f9001712696bfa 0.0s
=> => resolve docker.io/library/ruby:slim@sha256:f3207b8383a8ed08a043e960984b756a957f05217f1724f9001712696bfaea 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 7.83kB 0.0s
=> CACHED [ 2/11] RUN apt-get update -y && apt-get install -y --no-install-recommends build-essenti 0.0s
=> CACHED [ 3/11] RUN apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* /var/cache/apt 0.0s
=> CACHED [ 4/11] RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen 0.0s
=> CACHED [ 5/11] RUN mkdir /srv/jekyll 0.0s
=> CACHED [ 6/11] ADD Gemfile.lock /srv/jekyll 0.0s
=> CACHED [ 7/11] ADD Gemfile /srv/jekyll 0.0s
=> CACHED [ 8/11] WORKDIR /srv/jekyll 0.0s
=> CACHED [ 9/11] RUN gem install --no-document jekyll bundler 0.0s
=> CACHED [10/11] RUN bundle install --no-cache 0.0s
=> CACHED [11/11] COPY bin/entry_point.sh /tmp/entry_point.sh 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => exporting manifest sha256:a48077c75c7851f354379bb45e03cb276244fac641cd06d2e44fdf3f3689a1e4 0.0s
=> => exporting config sha256:85f258a69b00d871e2a2dcb31d116f458787ac48e0775dfac98aa4d6b4c27215 0.0s
=> => exporting attestation manifest sha256:1e4e33c9a9ab8ac0f64517a0b2d6e2feb540d318a55eac3c071ed3defa68b9b0 0.0s
=> => exporting manifest list sha256:06ff0e084e3f0ac611074db4777887912b3a05844dfcdca36ce8ff714cb6ec16 0.0s
=> => naming to docker.io/amirpourmand/al-folio:v0.14.6 0.0s
=> => unpacking to docker.io/amirpourmand/al-folio:v0.14.6 0.0s
=> resolving provenance for metadata file 0.0s
[+] Running 2/2
✔ amirpourmand/al-folio:v0.14.6 Built 0.0s
✔ Container homepage-jekyll-1 Recreated 1.5s
Attaching to jekyll-1
jekyll-1 | Entry point script running
jekyll-1 | Gemfile.lock is tracked by git, keeping it intact
jekyll-1 | bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
jekyll-1 | /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/definition.rb:691:in 'Bundler::Definition#materialize': Could not find nokogiri-1.18.9-aarch64-linux-gnu, minitest-5.25.5, ffi-1.17.2-aarch64-linux-gnu in locally installed gems (Bundler::GemNotFound)
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/definition.rb:237:in 'Bundler::Definition#specs'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/definition.rb:304:in 'Bundler::Definition#specs_for'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/runtime.rb:18:in 'Bundler::Runtime#setup'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler.rb:167:in 'Bundler.setup'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/setup.rb:32:in 'block in <top (required)>'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/ui/shell.rb:173:in 'Bundler::UI::Shell#with_level'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/ui/shell.rb:119:in 'Bundler::UI::Shell#silence'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/setup.rb:32:in '<top (required)>'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli/exec.rb:57:in 'Kernel#require_relative'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli/exec.rb:57:in 'Bundler::CLI::Exec#kernel_load'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli.rb:452:in 'Bundler::CLI#exec'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/vendor/thor/lib/thor.rb:538:in 'Bundler::Thor.dispatch'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/cli.rb:29:in 'Bundler::CLI.start'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/exe/bundle:28:in 'block in <top (required)>'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.9/exe/bundle:20:in '<top (required)>'
jekyll-1 | from /usr/local/lib/ruby/4.0.0/rubygems.rb:303:in 'Kernel#load'
jekyll-1 | from /usr/local/lib/ruby/4.0.0/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'
jekyll-1 | from /usr/local/bundle/bin/bundle:25:in '<main>'
Gracefully Stopping... press Ctrl+C again to force
Container homepage-jekyll-1 Stopping
Container homepage-jekyll-1 Stopped
jekyll-1 exited with code 137
What operating system are you using?
Linux, Mac
Where are you seeing the problem on?
Running locally with Docker (docker compose)
More info
I also tried "https://github.com/alshedivat/al-folio/blobbut/main/INSTALL.md#have-bugs-on-docker-image"
when I use "./bin/entry_point.sh", the error is
root@ac078e035cdb:/srv/jekyll# ./bin/entry_point.sh
Entry point script running
Gemfile.lock is tracked by git, keeping it intact
Could not find nokogiri-1.18.9-aarch64-linux-gnu, minitest-5.25.5, ffi-1.17.2-aarch64-linux-gnu in locally installed gems
Run `bundle install` to install missing gems."
then I use
root@ac078e035cdb:/srv/jekyll# bundle install
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Using minitest 6.0.2 (was 5.25.5)
Bundle complete! 24 Gemfile dependencies, 101 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
but the same error appears
root@ac078e035cdb:/srv/jekyll# ./bin/entry_point.sh
Entry point script running
Gemfile.lock is tracked by git, keeping it intact
Could not find nokogiri-1.18.9-aarch64-linux-gnu, minitest-5.25.5, ffi-1.17.2-aarch64-linux-gnu in locally installed gems
Run `bundle install` to install missing gems.
Have you checked that your issue isn't already filed?
Bug description
I use "docker compose up --build", the error is "Could not find nokogiri-1.18.9-aarch64-linux-gnu, minitest-5.25.5, ffi-1.17.2-aarch64-linux-gnu in locally installed gems (Bundler::GemNotFound)"
How to reproduce the bug
use docker compose up --build
Error messages and logs
What operating system are you using?
Linux, Mac
Where are you seeing the problem on?
Running locally with Docker (docker compose)
More info
I also tried "https://github.com/alshedivat/al-folio/blobbut/main/INSTALL.md#have-bugs-on-docker-image"
when I use "./bin/entry_point.sh", the error is
then I use
but the same error appears