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
{{ message }}
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
I really like the idea of this, so I wanted to try it out. Unfortunately, when using it in a very base configuration the container fails to build with this error:
/usr/local/lib/ruby/2.7.0/rubygems.rb:277:in find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /Gemfile.lock. (Gem::GemNotFoundException)`
Full step output:
/usr/bin/docker build -t 1e5c35:96e1e4a1c1f84478bce3c5efcfff75bf -f "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0/Dockerfile" "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0"
Sending build context to Docker daemon 36.35kB
Step 1/16 : FROM ruby:2-slim
2-slim: Pulling from library/ruby
bb79b6b2107f: Pulling fs layer
e8b853ec9f22: Pulling fs layer
d21147059b99: Pulling fs layer
3d6943e1e2b4: Pulling fs layer
c7cfe3b29903: Pulling fs layer
3d6943e1e2b4: Waiting
c7cfe3b29903: Waiting
d21147059b99: Verifying Checksum
d21147059b99: Download complete
e8b853ec9f22: Verifying Checksum
e8b853ec9f22: Download complete
c7cfe3b29903: Verifying Checksum
c7cfe3b29903: Download complete
bb79b6b2107f: Verifying Checksum
bb79b6b2107f: Download complete
3d6943e1e2b4: Verifying Checksum
3d6943e1e2b4: Download complete
bb79b6b2107f: Pull complete
e8b853ec9f22: Pull complete
d21147059b99: Pull complete
3d6943e1e2b4: Pull complete
c7cfe3b29903: Pull complete
Digest: sha256:9efec02725b1c98922b3753e62a7ac9eb26acec19212785ab064d8a0b642c185
Status: Downloaded newer image for ruby:2-slim
---> efb332fdeafe
Step 2/16 : LABEL "name"="Kustomized Namespace - Create Overlay"
---> Running in 375765db8a29
Removing intermediate container 375765db8a29
---> ede4d30a5960
Step 3/16 : LABEL "maintainer"="Brett Dudo <[email protected]>"
---> Running in e4827a14844e
Removing intermediate container e4827a14844e
---> 788e061a68ae
Step 4/16 : COPY LICENSE README.md /
---> ec9318bde741
Step 5/16 : RUN apt-get update -qq && apt-get install -y curl
---> Running in c5249df0f069
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5 librtmp1
libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1 publicsuffix
Suggested packages:
krb5-doc krb5-user libsasl2-modules-gssapi-mit
| libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
libsasl2-modules-sql
The following NEW packages will be installed:
curl krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1
libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libpsl5
librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1
publicsuffix
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 2470 kB of archives.
After this operation, 5837 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 krb5-locales all 1.17-3 [95.4 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libkeyutils1 amd64 1.6-6 [15.0 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libkrb5support0 amd64 1.17-3 [65.6 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libk5crypto3 amd64 1.17-3 [121 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libkrb5-3 amd64 1.17-3 [370 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libgssapi-krb5-2 amd64 1.17-3 [158 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1+deb10u1 [69.1 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1+deb10u1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u2 [89.7 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u2 [224 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-2 [53.7 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u1 [331 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 curl amd64 7.64.0-4+deb10u1 [264 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1+deb10u1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 publicsuffix all 20190415.1030-1 [116 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2470 kB in 0s (19.4 MB/s)
Selecting previously unselected package krb5-locales.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 8600 files and directories currently installed.)
Preparing to unpack .../00-krb5-locales_1.17-3_all.deb ...
Unpacking krb5-locales (1.17-3) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../01-libkeyutils1_1.6-6_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6-6) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../02-libkrb5support0_1.17-3_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.17-3) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../03-libk5crypto3_1.17-3_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.17-3) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../04-libkrb5-3_1.17-3_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.17-3) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../05-libgssapi-krb5-2_1.17-3_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.17-3) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../06-libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../07-libsasl2-2_2.1.27+dfsg-1+deb10u1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../08-libldap-common_2.4.47+dfsg-3+deb10u2_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u2) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../09-libldap-2.4-2_2.4.47+dfsg-3+deb10u2_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u2) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../10-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../11-libpsl5_0.20.2-2_amd64.deb ...
Unpacking libpsl5:amd64 (0.20.2-2) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../12-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../13-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../14-libcurl4_7.64.0-4+deb10u1_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4+deb10u1) ...
Selecting previously unselected package curl.
Preparing to unpack .../15-curl_7.64.0-4+deb10u1_amd64.deb ...
Unpacking curl (7.64.0-4+deb10u1) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1+deb10u1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../17-publicsuffix_20190415.1030-1_all.deb ...
Unpacking publicsuffix (20190415.1030-1) ...
Setting up libkeyutils1:amd64 (1.6-6) ...
Setting up libpsl5:amd64 (0.20.2-2) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1+deb10u1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up krb5-locales (1.17-3) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u2) ...
Setting up libkrb5support0:amd64 (1.17-3) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1+deb10u1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up libk5crypto3:amd64 (1.17-3) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1+deb10u1) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libkrb5-3:amd64 (1.17-3) ...
Setting up publicsuffix (20190415.1030-1) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u2) ...
Setting up libgssapi-krb5-2:amd64 (1.17-3) ...
Setting up libcurl4:amd64 (7.64.0-4+deb10u1) ...
Setting up curl (7.64.0-4+deb10u1) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container c5249df0f069
---> 0e09e5688dc0
Step 6/16 : ENV KUSTOMIZE=3.3.1
---> Running in 4f4339ee86ea
Removing intermediate container 4f4339ee86ea
---> 133af0101b47
Step 7/16 : RUN curl -so /bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v$***KUSTOMIZE***/kustomize_$***KUSTOMIZE***_linux_amd64
---> Running in 8eca324ebeb0
Removing intermediate container 8eca324ebeb0
---> ce6f35e26caa
Step 8/16 : RUN chmod u+x /bin/kustomize
---> Running in 5583c125b046
Removing intermediate container 5583c125b046
---> cfb04b7c2bd8
Step 9/16 : COPY Gemfile Gemfile.lock ./
---> 3fd4329db1cf
Step 10/16 : RUN bundle install --without=development test
---> Running in 461e6b0f120f
/usr/local/lib/ruby/2.7.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.17.2`
from /usr/local/lib/ruby/2.7.0/rubygems.rb:296:in `activate_bin_path'
from /usr/local/bin/bundle:23:in `<main>'
The command '/bin/sh -c bundle install --without=development test' returned a non-zero code: 1
Warning: Docker build failed with exit code 1, back off 1.815 seconds before retry.
/usr/bin/docker build -t 1e5c35:96e1e4a1c1f84478bce3c5efcfff75bf -f "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0/Dockerfile" "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0"
Sending build context to Docker daemon 36.35kB
Step 1/16 : FROM ruby:2-slim
---> efb332fdeafe
Step 2/16 : LABEL "name"="Kustomized Namespace - Create Overlay"
---> Using cache
---> ede4d30a5960
Step 3/16 : LABEL "maintainer"="Brett Dudo <[email protected]>"
---> Using cache
---> 788e061a68ae
Step 4/16 : COPY LICENSE README.md /
---> Using cache
---> ec9318bde741
Step 5/16 : RUN apt-get update -qq && apt-get install -y curl
---> Using cache
---> 0e09e5688dc0
Step 6/16 : ENV KUSTOMIZE=3.3.1
---> Using cache
---> 133af0101b47
Step 7/16 : RUN curl -so /bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v$***KUSTOMIZE***/kustomize_$***KUSTOMIZE***_linux_amd64
---> Using cache
---> ce6f35e26caa
Step 8/16 : RUN chmod u+x /bin/kustomize
---> Using cache
---> cfb04b7c2bd8
Step 9/16 : COPY Gemfile Gemfile.lock ./
---> Using cache
---> 3fd4329db1cf
Step 10/16 : RUN bundle install --without=development test
The command '/bin/sh -c bundle install --without=development test' returned a non-zero code: 1
---> Running in 59ec290e6351
/usr/local/lib/ruby/2.7.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.17.2`
from /usr/local/lib/ruby/2.7.0/rubygems.rb:296:in `activate_bin_path'
from /usr/local/bin/bundle:23:in `<main>'
Warning: Docker build failed with exit code 1, back off 5.867 seconds before retry.
/usr/bin/docker build -t 1e5c35:96e1e4a1c1f84478bce3c5efcfff75bf -f "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0/Dockerfile" "/home/runner/work/_actions/zyngl/create_kustomized_namespace/v1.3.0"
Sending build context to Docker daemon 36.35kB
Step 1/16 : FROM ruby:2-slim
---> efb332fdeafe
Step 2/16 : LABEL "name"="Kustomized Namespace - Create Overlay"
---> Using cache
---> ede4d30a5960
Step 3/16 : LABEL "maintainer"="Brett Dudo <[email protected]>"
---> Using cache
---> 788e061a68ae
Step 4/16 : COPY LICENSE README.md /
---> Using cache
---> ec9318bde741
Step 5/16 : RUN apt-get update -qq && apt-get install -y curl
---> Using cache
---> 0e09e5688dc0
Step 6/16 : ENV KUSTOMIZE=3.3.1
---> Using cache
---> 133af0101b47
Step 7/16 : RUN curl -so /bin/kustomize https://github.com/kubernetes-sigs/kustomize/releases/download/v$***KUSTOMIZE***/kustomize_$***KUSTOMIZE***_linux_amd64
---> Using cache
---> ce6f35e26caa
Step 8/16 : RUN chmod u+x /bin/kustomize
---> Using cache
---> cfb04b7c2bd8
Step 9/16 : COPY Gemfile Gemfile.lock ./
---> Using cache
---> 3fd4329db1cf
Step 10/16 : RUN bundle install --without=development test
---> Running in 369f43ac6e40
/usr/local/lib/ruby/2.7.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.17.2`
from /usr/local/lib/ruby/2.7.0/rubygems.rb:296:in `activate_bin_path'
from /usr/local/bin/bundle:23:in `<main>'
The command '/bin/sh -c bundle install --without=development test' returned a non-zero code: 1
Error: Docker build failed with exit code 1
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I really like the idea of this, so I wanted to try it out. Unfortunately, when using it in a very base configuration the container fails to build with this error:
/usr/local/lib/ruby/2.7.0/rubygems.rb:277:in
find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your /Gemfile.lock. (Gem::GemNotFoundException)`Full step output:
The text was updated successfully, but these errors were encountered: