Closed pableeee closed 3 years ago
Since Nov 4, I can seem to build me docker image, which uses phusion/passenger-ruby27:1.0.19 as a base image.
phusion/passenger-ruby27:1.0.19
The issues seems to be with the certificate validation.
Here's the docker build output
$ docker build . [+] Building 11.1s (7/26) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/phusion/passenger-ruby27:1.0.19 2.1s => [auth] phusion/passenger-ruby27:pull token for registry-1.docker.io 0.0s => [internal] load build context 0.0s => => transferring context: 60.84kB 0.0s => CACHED [ 1/21] FROM docker.io/phusion/passenger-ruby27:1.0.19@sha256:dd4cdb7fb68d86a0d199d1107f8c3c1094449aa4d8478be6462f7a567d526fce 0.0s => ERROR [ 2/21] RUN apt-get update && apt-get install -y autotools-dev automake libtool passenger=1:6.0.* pkg-config && apt-get clean && rm -rf /var/lib/apt/lists/* 9.0s ------ > [ 2/21] RUN apt-get update && apt-get install -y autotools-dev automake libtool passenger=1:6.0.* pkg-config && apt-get clean && rm -rf /var/lib/apt/lists/*: #6 0.904 Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] #6 0.905 Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] #6 1.212 Ign:3 https://oss-binaries.phusionpassenger.com/apt/passenger focal InRelease #6 1.729 Err:4 https://oss-binaries.phusionpassenger.com/apt/passenger focal Release #6 1.729 Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 109.107.35.58 443] #6 2.104 Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted Sources [31.5 kB] #6 2.260 Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] #6 2.422 Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse Sources [8,644 B] #6 2.428 Get:8 http://security.ubuntu.com/ubuntu focal-security/main Sources [224 kB] #6 2.596 Get:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] #6 2.846 Get:10 http://security.ubuntu.com/ubuntu focal-security/universe Sources [91.9 kB] #6 2.937 Get:11 http://archive.ubuntu.com/ubuntu focal/main Sources [1,079 kB] #6 2.983 Get:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,183 kB] #6 3.789 Get:13 http://archive.ubuntu.com/ubuntu focal/restricted Sources [7,198 B] #6 3.789 Get:14 http://archive.ubuntu.com/ubuntu focal/universe Sources [12.3 MB] #6 3.801 Get:15 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.1 kB] #6 3.811 Get:16 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [804 kB] #6 4.081 Get:17 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [628 kB] #6 5.831 Get:18 http://archive.ubuntu.com/ubuntu focal/multiverse Sources [208 kB] #6 5.846 Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB] #6 6.052 Get:20 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] #6 6.054 Get:21 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] #6 6.066 Get:22 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] #6 7.519 Get:23 http://archive.ubuntu.com/ubuntu focal-updates/restricted Sources [31.5 kB] #6 7.525 Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe Sources [248 kB] #6 7.558 Get:25 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Sources [21.2 kB] #6 7.559 Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main Sources [554 kB] #6 7.625 Get:27 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [679 kB] #6 7.719 Get:28 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.4 kB] #6 7.722 Get:29 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,090 kB] #6 7.848 Get:30 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,638 kB] #6 8.058 Get:31 http://archive.ubuntu.com/ubuntu focal-backports/universe Sources [4,189 B] #6 8.058 Get:32 http://archive.ubuntu.com/ubuntu focal-backports/main Sources [1,357 B] #6 8.059 Get:33 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2,668 B] #6 8.059 Get:34 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [7,171 B] #6 8.252 Reading package lists... #6 8.935 E: The repository 'https://oss-binaries.phusionpassenger.com/apt/passenger focal Release' does not have a Release file.
it's fixed in 2.0.0
2.0.0
Since Nov 4, I can seem to build me docker image, which uses
phusion/passenger-ruby27:1.0.19
as a base image.The issues seems to be with the certificate validation.
Here's the docker build output