Skip to content

Instantly share code, notes, and snippets.

@benlangfeld
Created January 9, 2024 22:24
Show Gist options
  • Save benlangfeld/0cc8fa8b0e441cbd6427cf1f1bc35832 to your computer and use it in GitHub Desktop.
Save benlangfeld/0cc8fa8b0e441cbd6427cf1f1bc35832 to your computer and use it in GitHub Desktop.

Bug:

❯ docker build .
[+] Building 20.0s (8/8) FINISHED                                               docker:desktop-linux
 => [internal] load build definition from Dockerfile                                            0.0s
 => => transferring dockerfile: 211B                                                            0.0s
 => [internal] load .dockerignore                                                               0.0s
 => => transferring context: 2B                                                                 0.0s
 => [internal] load metadata for docker.io/library/ruby:3.3.0-bullseye                          2.1s
 => [1/4] FROM docker.io/library/ruby:3.3.0-bullseye@sha256:877062a8669a1d4704b130e2e87b7c1337  5.9s
 => => resolve docker.io/library/ruby:3.3.0-bullseye@sha256:877062a8669a1d4704b130e2e87b7c1337  0.0s
 => => sha256:877062a8669a1d4704b130e2e87b7c133730be2f74142f6faa59d8b51ee409e9 7.60kB / 7.60kB  0.0s
 => => sha256:23d009e5db7e0b1f5265cdebc487455c3b6b0fa4a0e73a6afd29f0928553ad17 2.00kB / 2.00kB  0.0s
 => => sha256:a1f28f9dcc737b05e6f4d61bbd52aae4deee5fec5af6e13a9cee5bc7aa241cc7 144B / 144B      0.3s
 => => sha256:5f5451d8cc300a2b47553da434a4037d558130ae1d7bef24724c3b664fde7f3c 7.26kB / 7.26kB  0.0s
 => => sha256:1fed0612c3ac281ca1e2d2dcfaf90acafd67d01c1fe81550199c6a4067f5a7bf 200B / 200B      0.2s
 => => sha256:39463b08bf2b349ee332f617327812832cbc36b22a26c19559ab205c94e766 36.23MB / 36.23MB  5.0s
 => => extracting sha256:1fed0612c3ac281ca1e2d2dcfaf90acafd67d01c1fe81550199c6a4067f5a7bf       0.0s
 => => extracting sha256:39463b08bf2b349ee332f617327812832cbc36b22a26c19559ab205c94e766f8       0.8s
 => => extracting sha256:a1f28f9dcc737b05e6f4d61bbd52aae4deee5fec5af6e13a9cee5bc7aa241cc7       0.0s
 => [internal] load build context                                                               0.0s
 => => transferring context: 60B                                                                0.0s
 => [2/4] RUN gem install bundler -v 2.5.4 && gem update --system 3.5.4                         3.3s
 => [3/4] ADD Gemfile Gemfile.lock /                                                            0.0s
 => ERROR [4/4] RUN bundler lock --patch --strict --update playbook_ui                          8.6s
------
 > [4/4] RUN bundler lock --patch --strict --update playbook_ui:
5.337 Fetching gem metadata from https://rubygems.org/...........
8.588 Could not find gems matching 'playbook_ui (= 13.15.0)' valid for all resolution
8.588 platforms (x86_64-linux, aarch64-linux) in rubygems repository
8.588 https://rubygems.org/ or installed locally.
8.588
8.588 The source contains the following gems matching 'playbook_ui (= 13.15.0)':
8.588   * playbook_ui-13.15.0
------
Dockerfile:7
--------------------
   5 |     ADD Gemfile Gemfile.lock /
   6 |
   7 | >>> RUN bundler lock --patch --strict --update playbook_ui
   8 |
--------------------
ERROR: failed to solve: process "/bin/sh -c bundler lock --patch --strict --update playbook_ui" did not complete successfully: exit code: 7
FROM ruby:3.3.0-bullseye
RUN gem install bundler -v 2.5.4 && gem update --system 3.5.4
ADD Gemfile Gemfile.lock /
RUN bundler lock --patch --strict --update playbook_ui
source "https://rubygems.org"
ruby "3.3.0"
gem "playbook_ui", "13.15.0"
GEM
remote: https://rubygems.org/
specs:
actionpack (7.0.8)
actionview (= 7.0.8)
activesupport (= 7.0.8)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.8)
activesupport (= 7.0.8)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
babel-source (5.8.35)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
builder (3.2.4)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
crass (1.0.6)
erubi (1.12.0)
execjs (2.9.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.0.0)
minitest (5.20.0)
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
playbook_ui (13.14.0)
actionpack (>= 5.2.4.5)
actionview (>= 5.2.4.5)
activesupport (>= 5.2.4.5)
react-rails (= 2.6.1)
view_component (= 2.55.0)
webpacker-react (~> 0.3.2)
racc (1.7.3)
rack (2.2.8)
rack-proxy (0.7.7)
rack
rack-test (2.1.0)
rack (>= 1.3)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.8)
actionpack (= 7.0.8)
activesupport (= 7.0.8)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rake (13.1.0)
react-rails (2.6.1)
babel-transpiler (>= 0.7.0)
connection_pool
execjs
railties (>= 3.2)
tilt
semantic_range (3.0.0)
thor (1.3.0)
tilt (2.3.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
view_component (2.55.0)
activesupport (>= 5.0.0, < 8.0)
method_source (~> 1.0)
webpacker (5.4.4)
activesupport (>= 5.2)
rack-proxy (>= 0.6.1)
railties (>= 5.2)
semantic_range (>= 2.3.0)
webpacker-react (0.3.2)
webpacker
zeitwerk (2.6.12)
PLATFORMS
x86_64-linux
DEPENDENCIES
playbook_ui (= 13.14.0)
RUBY VERSION
ruby 3.3.0p0
BUNDLED WITH
2.5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment