Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle install error in website development container #1515

Open
lparsons opened this issue Jun 6, 2024 · 0 comments
Open

Bundle install error in website development container #1515

lparsons opened this issue Jun 6, 2024 · 0 comments

Comments

@lparsons
Copy link
Member

lparsons commented Jun 6, 2024

When trying to build the docker container (https://github.com/USRSE/usrse.github.io/blob/main/docs/local_previews.md#container-based-development), I ran into the following error:

[+] Building 17.4s (7/8)                                                                                                                                                                     docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                   0.0s
 => => transferring dockerfile: 814B                                                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/jekyll/jekyll:3.8                                                                                                                                           0.8s
 => [internal] load .dockerignore                                                                                                                                                                      0.0s
 => => transferring context: 60B                                                                                                                                                                       0.0s
 => [1/4] FROM docker.io/jekyll/jekyll:3.8@sha256:9521c8aae4739fcbc7137ead19f91841b833d671542f13e91ca40280e88d6e34                                                                                    10.7s
 => => resolve docker.io/jekyll/jekyll:3.8@sha256:9521c8aae4739fcbc7137ead19f91841b833d671542f13e91ca40280e88d6e34                                                                                     0.0s
 => => sha256:9521c8aae4739fcbc7137ead19f91841b833d671542f13e91ca40280e88d6e34 1.58kB / 1.58kB                                                                                                         0.0s
 => => sha256:f68afd75b4c4013a78b9ab3e258a0f0b284c2394fd13ebfd0bc27b40df3da200 14.59kB / 14.59kB                                                                                                       0.0s
 => => sha256:9d48c3bd43c520dc2784e868a780e976b207cbf493eaff8c6596eb871cbd9609 2.79MB / 2.79MB                                                                                                         0.2s
 => => sha256:9ce9598067e791cbaacfac93d5e902016d9881ea51db6917fe9e73a7d3b4761f 1.03MB / 1.03MB                                                                                                         0.2s
 => => sha256:278f4c9973240edefeef09d85fba9423a7fc9caeeef73a536df753d907665adb 196B / 196B                                                                                                             0.2s
 => => extracting sha256:9d48c3bd43c520dc2784e868a780e976b207cbf493eaff8c6596eb871cbd9609                                                                                                              0.1s
 => => sha256:bfca09e5fd9a58510118a2cc40c48d1791b46db7927fed3da40886a581c95b1e 22.11MB / 22.11MB                                                                                                       1.0s
 => => sha256:2612f15b9d2295416ceaa25d81a4dc0933bc944f1e22d9f23503f5692d377c3e 139B / 139B                                                                                                             0.2s
 => => sha256:322c093d541807265e3d43cd9046ff70deaa6c357e9eaa32f998ceb5f586e017 173.26MB / 173.26MB                                                                                                     5.5s
 => => extracting sha256:9ce9598067e791cbaacfac93d5e902016d9881ea51db6917fe9e73a7d3b4761f                                                                                                              0.0s
 => => extracting sha256:278f4c9973240edefeef09d85fba9423a7fc9caeeef73a536df753d907665adb                                                                                                              0.0s
 => => extracting sha256:bfca09e5fd9a58510118a2cc40c48d1791b46db7927fed3da40886a581c95b1e                                                                                                              1.2s
 => => extracting sha256:2612f15b9d2295416ceaa25d81a4dc0933bc944f1e22d9f23503f5692d377c3e                                                                                                              0.0s
 => => extracting sha256:322c093d541807265e3d43cd9046ff70deaa6c357e9eaa32f998ceb5f586e017                                                                                                              4.8s
 => [internal] load build context                                                                                                                                                                      1.0s
 => => transferring context: 104.06MB                                                                                                                                                                  0.9s
 => [2/4] COPY ./Gemfile ./Gemfile                                                                                                                                                                     0.5s
 => ERROR [3/4] RUN bundle install                                                                                                                                                                     5.4s
------                                                                                                                                                                                                      
 > [3/4] RUN bundle install:                                                                                                                                                                                
3.097 Fetching gem metadata from https://rubygems.org/...........                                                                                                                                           
4.748 Fetching gem metadata from https://rubygems.org/.                                                                                                                                                     
4.764 Resolving dependencies....                                                                                                                                                                            
5.189 ffi-1.17.0-x86_64-linux-musl requires rubygems version >= 3.3.22, which is
5.189 incompatible with the current version, 3.0.6
------
Dockerfile:21
--------------------
  19 |     ## Install required gems
  20 |     COPY ./Gemfile ./Gemfile
  21 | >>> RUN bundle install
  22 |     
  23 |     ## Copy source files
--------------------
ERROR: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant