We've moved discussions to Discord

docker build fails locally, `/app/lib/jumpstart` does not exist

johnlauck
✗ docker build .
[+] Building 1.2s (13/16)
 => [internal] load build definition from Dockerfile                                                                                                                                                0.0s
 => => transferring dockerfile: 3.52kB                                                                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                                                                   0.0s
 => => transferring context: 35B                                                                                                                                                                    0.0s
 => [internal] load metadata for docker.io/library/ruby:3.1                                                                                                                                         0.6s
 => [ 1/12] FROM docker.io/library/ruby:3.1@sha256:be4f8b9043d2cc620dff313c4ea987536778f30964c333f8ca0ed3fb6402e701                                                                                 0.0s
 => [internal] load build context                                                                                                                                                                   0.1s
 => => transferring context: 81.03kB                                                                                                                                                                0.0s
 => CACHED [ 2/12] RUN gem install "bundler:~>2" --no-document &&     gem update --system &&     gem cleanup                                                                                        0.0s
 => CACHED [ 3/12] RUN ARCH= && dpkgArch="$(dpkg --print-architecture)"   && case "${dpkgArch##*-}" in     amd64) ARCH='x64';;     ppc64el) ARCH='ppc64le';;     s390x) ARCH='s390x';;     arm64)   0.0s
 => CACHED [ 4/12] RUN set -ex   && for key in     6A010C5166006599AA17F08146C2130DFD2497F5   ; do     gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||     gpg --batch --key  0.0s
 => CACHED [ 5/12] RUN apt-get update -qq &&     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends imagemagick libvips libvips-dev libvips-tools libpq-dev &&     rm -rf /  0.0s
 => CACHED [ 6/12] WORKDIR /app                                                                                                                                                                     0.0s
 => CACHED [ 7/12] COPY ./Gemfile* /app/                                                                                                                                                            0.0s
 => CACHED [ 8/12] COPY ./config/jumpstart/Gemfile /app/config/jumpstart/                                                                                                                           0.0s
 => ERROR [ 9/12] RUN bundle config --local without "staging production omit" && bundle install  --retry 5                                                                                          0.5s
------
 > [ 9/12] RUN bundle config --local without "staging production omit" && bundle install  --retry 5:
#13 0.442 The path `/app/lib/jumpstart` does not exist.
------
executor failed running [/bin/sh -c bundle config --local without "staging production omit" && bundle install  --retry 5]: exit code: 13
johnlauck
Does anyone have ideas why this isn't working?  I recently pulled updates from the jumpstart project when this happened, but I don't believe any of the Dockerfile changed. 

Jarrett Green
I'm having ghe same issue, randomly.  were you able to get by it?
johnlauck
I have not had any success. I can still run rails locally, just not dockerized. It seems to be a recent change because it was working until I pulled in recent updates. The last changes I pulled are from 4/12, https://github.com/jumpstart-pro/jumpstart-pro/commit/7dfe8a6225631ba151b9857d075fba9448d4d2b7. 
Seungyong Lim
I ran into the same issue and I updated to run bundle install instead and it worked again! I am not sure what it was trying to set using this command. bundle config --local without "staging production omit" 
johnlauck
✗ docker build .
[+] Building 1.2s (13/16)
 => [internal] load build definition from Dockerfile                                                                                                                                                0.0s
 => => transferring dockerfile: 3.52kB                                                                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                                                                   0.0s
 => => transferring context: 35B                                                                                                                                                                    0.0s
 => [internal] load metadata for docker.io/library/ruby:3.1                                                                                                                                         0.6s
 => [ 1/12] FROM docker.io/library/ruby:3.1@sha256:be4f8b9043d2cc620dff313c4ea987536778f30964c333f8ca0ed3fb6402e701                                                                                 0.0s
 => [internal] load build context                                                                                                                                                                   0.1s
 => => transferring context: 81.03kB                                                                                                                                                                0.0s
 => CACHED [ 2/12] RUN gem install "bundler:~>2" --no-document &&     gem update --system &&     gem cleanup                                                                                        0.0s
 => CACHED [ 3/12] RUN ARCH= && dpkgArch="$(dpkg --print-architecture)"   && case "${dpkgArch##*-}" in     amd64) ARCH='x64';;     ppc64el) ARCH='ppc64le';;     s390x) ARCH='s390x';;     arm64)   0.0s
 => CACHED [ 4/12] RUN set -ex   && for key in     6A010C5166006599AA17F08146C2130DFD2497F5   ; do     gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" ||     gpg --batch --key  0.0s
 => CACHED [ 5/12] RUN apt-get update -qq &&     DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends imagemagick libvips libvips-dev libvips-tools libpq-dev &&     rm -rf /  0.0s
 => CACHED [ 6/12] WORKDIR /app                                                                                                                                                                     0.0s
 => CACHED [ 7/12] COPY ./Gemfile* /app/                                                                                                                                                            0.0s
 => CACHED [ 8/12] COPY ./config/jumpstart/Gemfile /app/config/jumpstart/                                                                                                                           0.0s
 => ERROR [ 9/12] RUN bundle config --local without "staging production omit" && bundle install  --retry 5                                                                                          0.5s
------
 > [ 9/12] RUN bundle config --local without "staging production omit" && bundle install  --retry 5:
#13 0.442 The path `/app/lib/jumpstart` does not exist.
------
executor failed running [/bin/sh -c bundle config --local without "staging production omit" && bundle install  --retry 5]: exit code: 13
johnlauck
Does anyone have ideas why this isn't working?  I recently pulled updates from the jumpstart project when this happened, but I don't believe any of the Dockerfile changed. 

Jarrett Green
I'm having ghe same issue, randomly.  were you able to get by it?
johnlauck
I have not had any success. I can still run rails locally, just not dockerized. It seems to be a recent change because it was working until I pulled in recent updates. The last changes I pulled are from 4/12, https://github.com/jumpstart-pro/jumpstart-pro/commit/7dfe8a6225631ba151b9857d075fba9448d4d2b7. 
Seungyong Lim
I ran into the same issue and I updated to run bundle install instead and it worked again! I am not sure what it was trying to set using this command. bundle config --local without "staging production omit" 
Notifications
You’re not receiving notifications from this thread.
© 2022 Jumpstart Pro by GoRails, LLC