Does this work for 4.16.5 ? I fixed outdated Dockerfile issues in PR https://github.com/apache/bookkeeper/pull/4197 / (branch-4.16: https://github.com/apache/bookkeeper/pull/4206). Diff: https://github.com/apache/bookkeeper/pull/4206/files#diff-f34da55ca08f1a30591d8b0b3e885bcc678537b2a9a4aadea4f190806b374ddcL20
ubuntu-22.10 is no longer supported and that's the source of the error message "The repository 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' does not have a Release file." In the PR, I replaced it with ubuntu-22.04 (LTS version, support continues). -Lari On Tue, 2 Apr 2024 at 16:06, Enrico Olivelli <eolive...@gmail.com> wrote: > > Hello Bookkeepers, > it seems that docker hub is no more able to build our docker images > > You can find below the error > > Any ideas? > > Enrico > > Link to the build > https://hub.docker.com/repository/registry-1.docker.io/apache/bookkeeper/builds/114a5d41-f061-47d4-b9f4-744aafaaa665 > > Full logs > > 2024-04-02T12:08:33Z Building in Docker Cloud's infrastructure... > 2024-04-02T12:08:34Z Cloning into '.'... > 2024-04-02T12:08:34Z Warning: Permanently added the RSA host key for > IP address '140.82.114.3' to the list of known hosts. > 2024-04-02T12:09:14Z Switched to a new branch 'release-4.16.4-docker' > 2024-04-02T12:09:14Z Executing build hook... > 2024-04-02T12:09:14Z + [[ 4.16.4 = \l\a\t\e\s\t ]] > 2024-04-02T12:09:14Z + docker build --build-arg BK_VERSION=4.16.4 -t > index.docker.io/apache/bookkeeper:4.16.4 . > 2024-04-02T12:09:20Z #1 [internal] load build definition from Dockerfile > 2024-04-02T12:09:20Z #1 transferring dockerfile: > 2024-04-02T12:09:20Z #1 transferring dockerfile: 2.71kB done > 2024-04-02T12:09:20Z #1 DONE 0.1s > 2024-04-02T12:09:20Z > 2024-04-02T12:09:20Z #2 [internal] load .dockerignore > 2024-04-02T12:09:20Z #2 transferring context: 2B done > 2024-04-02T12:09:20Z #2 DONE 0.0s > 2024-04-02T12:09:20Z > 2024-04-02T12:09:20Z #3 [internal] load metadata for > docker.io/library/ubuntu:22.10 > 2024-04-02T12:09:21Z #3 ... > 2024-04-02T12:09:21Z > 2024-04-02T12:09:21Z #4 [auth] library/ubuntu:pull token for > registry-1.docker.io > 2024-04-02T12:09:21Z #4 DONE 0.0s > 2024-04-02T12:09:21Z > 2024-04-02T12:09:21Z #3 [internal] load metadata for > docker.io/library/ubuntu:22.10 > 2024-04-02T12:09:21Z #3 DONE 0.6s > 2024-04-02T12:09:21Z > 2024-04-02T12:09:21Z #5 [1/5] FROM > docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489 > 2024-04-02T12:09:21Z #5 resolve > docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489 > 0.1s done > 2024-04-02T12:09:21Z #5 ... > 2024-04-02T12:09:21Z > 2024-04-02T12:09:21Z #6 [internal] load build context > 2024-04-02T12:09:21Z #6 transferring context: 18.21kB done > 2024-04-02T12:09:21Z #6 DONE 0.0s > 2024-04-02T12:09:21Z > 2024-04-02T12:09:21Z #5 [1/5] FROM > docker.io/library/ubuntu:22.10@sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489 > 2024-04-02T12:09:21Z #5 > sha256:d36481db487c935436420cc4b705db8c81eec3872085ebd27963b775695fbe24 > 424B / 424B done > 2024-04-02T12:09:21Z #5 > sha256:692eb4a905c074054e0a35d647671f0e32ed150d15b23fd7bc745cfb2fdeddbd > 2.30kB / 2.30kB done > 2024-04-02T12:09:21Z #5 > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 0B / 26.70MB 0.1s > 2024-04-02T12:09:21Z #5 > sha256:e322f4808315c387868a9135beeb11435b5b83130a8599fd7d0014452c34f489 > 1.13kB / 1.13kB done > 2024-04-02T12:09:21Z #5 > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 22.02MB / 26.70MB 0.3s > 2024-04-02T12:09:21Z #5 > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 26.70MB / 26.70MB 0.4s > 2024-04-02T12:09:22Z #5 > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 26.70MB / 26.70MB 0.6s done > 2024-04-02T12:09:22Z #5 extracting > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 2024-04-02T12:09:25Z #5 extracting > sha256:3ad6ea492c35ef48892b4587449510d372516d5969073eeaa6601a380e861c57 > 3.3s done > 2024-04-02T12:09:26Z #5 DONE 4.5s > 2024-04-02T12:09:26Z > 2024-04-02T12:09:26Z #7 [2/5] RUN set -x && adduser "bookkeeper" && > apt-get update && apt-get install -y --no-install-recommends > openjdk-17-jdk && apt-get install -y --no-install-recommends python3 > pip && ln -s /usr/bin/python3 /usr/bin/python && apt-get install -y > --no-install-recommends gpg gpg-agent wget sudo && apt-get -y --purge > autoremove && apt-get autoclean && apt-get clean && rm -rf > /var/lib/apt/lists/* && mkdir -pv /opt && cd /opt && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz" > && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.asc" > && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.sha512" > && sha512sum -c bookkeeper-server-4.16.4-bin.tar.gz.sha512 && wget > https://dist.apache.org/repos/dist/release/bookkeeper/KEYS && gpg > --import KEYS && gpg --batch --verify > "bookkeeper-server-4.16.4-bin.tar.gz.asc" > "bookkeeper-server-4.16.4-bin.tar.gz" && tar -xzf > "bookkeeper-server-4.16.4-bin.tar.gz" && mv bookkeeper-server-4.16.4/ > /opt/bookkeeper/ && rm -rf "bookkeeper-server-4.16.4-bin.tar.gz" > "bookkeeper-server-4.16.4-bin.tar.gz.asc" > "bookkeeper-server-4.16.4-bin.tar.gz.sha512" && pip install zk-shell > 2024-04-02T12:09:26Z #7 0.382 + adduser bookkeeper > 2024-04-02T12:09:26Z #7 0.433 Adding user `bookkeeper' ... > 2024-04-02T12:09:26Z #7 0.433 Adding new group `bookkeeper' (1000) ... > 2024-04-02T12:09:26Z #7 0.480 Adding new user `bookkeeper' (1000) with > group `bookkeeper' ... > 2024-04-02T12:09:26Z #7 0.577 Creating home directory `/home/bookkeeper' ... > 2024-04-02T12:09:26Z #7 0.579 Copying files from `/etc/skel' ... > 2024-04-02T12:09:26Z #7 0.584 New password: Password change has been aborted. > 2024-04-02T12:09:26Z #7 0.585 passwd: Authentication token manipulation error > 2024-04-02T12:09:26Z #7 0.586 passwd: password unchanged > 2024-04-02T12:09:26Z #7 0.587 Use of uninitialized value $answer in > chop at /usr/sbin/adduser line 573. > 2024-04-02T12:09:26Z #7 0.587 Use of uninitialized value $answer in > pattern match (m//) at /usr/sbin/adduser line 574. > 2024-04-02T12:09:26Z #7 0.587 Try again? [y/N] Changing the user > information for bookkeeper > 2024-04-02T12:09:26Z #7 0.590 Enter the new value, or press ENTER for > the default > 2024-04-02T12:09:26Z #7 0.590 Full Name []: Room Number []: Work Phone > []: Home Phone []: Other []: Use of uninitialized value $answer in > chop at /usr/sbin/adduser line 603. > 2024-04-02T12:09:26Z #7 0.627 Use of uninitialized value $answer in > pattern match (m//) at /usr/sbin/adduser line 604. > 2024-04-02T12:09:26Z #7 0.627 Is the information correct? [Y/n] + apt-get > update > 2024-04-02T12:09:26Z #7 0.813 Ign:1 http://security.ubuntu.com/ubuntu > kinetic-security InRelease > 2024-04-02T12:09:26Z #7 0.814 Ign:2 http://archive.ubuntu.com/ubuntu > kinetic InRelease > 2024-04-02T12:09:26Z #7 0.887 Err:3 http://security.ubuntu.com/ubuntu > kinetic-security Release > 2024-04-02T12:09:26Z #7 0.887 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:26Z #7 0.888 Ign:4 http://archive.ubuntu.com/ubuntu > kinetic-updates InRelease > 2024-04-02T12:09:26Z #7 0.963 Ign:5 http://archive.ubuntu.com/ubuntu > kinetic-backports InRelease > 2024-04-02T12:09:27Z #7 1.037 Err:6 http://archive.ubuntu.com/ubuntu > kinetic Release > 2024-04-02T12:09:27Z #7 1.037 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:27Z #7 1.111 Err:7 http://archive.ubuntu.com/ubuntu > kinetic-updates Release > 2024-04-02T12:09:27Z #7 1.111 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:27Z #7 1.186 Err:8 http://archive.ubuntu.com/ubuntu > kinetic-backports Release > 2024-04-02T12:09:27Z #7 1.186 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:27Z #7 1.189 Reading package lists... > 2024-04-02T12:09:27Z #7 1.204 E: The repository > 'http://security.ubuntu.com/ubuntu kinetic-security Release' does not > have a Release file. > 2024-04-02T12:09:27Z #7 1.205 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic Release' does not have a > Release file. > 2024-04-02T12:09:27Z #7 1.207 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' does not > have a Release file. > 2024-04-02T12:09:27Z #7 1.207 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic-backports Release' does not > have a Release file. > 2024-04-02T12:09:28Z #7 ERROR: executor failed running [/bin/sh -c set > -x && adduser "${BK_USER}" && apt-get update && apt-get install -y > --no-install-recommends openjdk-17-jdk && apt-get install -y > --no-install-recommends python3 pip && ln -s /usr/bin/python3 > /usr/bin/python && apt-get install -y --no-install-recommends gpg > gpg-agent wget sudo && apt-get -y --purge autoremove && apt-get > autoclean && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -pv > /opt && cd /opt && wget -q "${DISTRO_URL}" && wget -q > "${DISTRO_URL}.asc" && wget -q "${DISTRO_URL}.sha512" && sha512sum -c > ${DISTRO_NAME}.tar.gz.sha512 && wget > https://dist.apache.org/repos/dist/release/bookkeeper/KEYS && gpg > --import KEYS && gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" > "$DISTRO_NAME.tar.gz" && tar -xzf "$DISTRO_NAME.tar.gz" && mv > bookkeeper-server-${BK_VERSION}/ /opt/bookkeeper/ && rm -rf > "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" > "$DISTRO_NAME.tar.gz.sha512" && pip install zk-shell]: exit code: 100 > 2024-04-02T12:09:28Z ------ > 2024-04-02T12:09:28Z > [2/5] RUN set -x && adduser "bookkeeper" && > apt-get update && apt-get install -y --no-install-recommends > openjdk-17-jdk && apt-get install -y --no-install-recommends python3 > pip && ln -s /usr/bin/python3 /usr/bin/python && apt-get install -y > --no-install-recommends gpg gpg-agent wget sudo && apt-get -y --purge > autoremove && apt-get autoclean && apt-get clean && rm -rf > /var/lib/apt/lists/* && mkdir -pv /opt && cd /opt && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz" > && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.asc" > && wget -q > "https://archive.apache.org/dist/bookkeeper/bookkeeper-4.16.4/bookkeeper-server-4.16.4-bin.tar.gz.sha512" > && sha512sum -c bookkeeper-server-4.16.4-bin.tar.gz.sha512 && wget > https://dist.apache.org/repos/dist/release/bookkeeper/KEYS && gpg > --import KEYS && gpg --batch --verify > "bookkeeper-server-4.16.4-bin.tar.gz.asc" > "bookkeeper-server-4.16.4-bin.tar.gz" && tar -xzf > "bookkeeper-server-4.16.4-bin.tar.gz" && mv bookkeeper-server-4.16.4/ > /opt/bookkeeper/ && rm -rf "bookkeeper-server-4.16.4-bin.tar.gz" > "bookkeeper-server-4.16.4-bin.tar.gz.asc" > "bookkeeper-server-4.16.4-bin.tar.gz.sha512" && pip install zk-shell: > 2024-04-02T12:09:28Z #7 1.037 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:28Z #7 1.111 Err:7 http://archive.ubuntu.com/ubuntu > kinetic-updates Release > 2024-04-02T12:09:28Z #7 1.111 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:28Z #7 1.186 Err:8 http://archive.ubuntu.com/ubuntu > kinetic-backports Release > 2024-04-02T12:09:28Z #7 1.186 404 Not Found [IP: 185.125.190.39 80] > 2024-04-02T12:09:28Z #7 1.189 Reading package lists... > 2024-04-02T12:09:28Z #7 1.204 E: The repository > 'http://security.ubuntu.com/ubuntu kinetic-security Release' does not > have a Release file. > 2024-04-02T12:09:28Z #7 1.205 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic Release' does not have a > Release file. > 2024-04-02T12:09:28Z #7 1.207 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' does not > have a Release file. > 2024-04-02T12:09:28Z #7 1.207 E: The repository > 'http://archive.ubuntu.com/ubuntu kinetic-backports Release' does not > have a Release file. > 2024-04-02T12:09:28Z ------ > 2024-04-02T12:09:28Z ERROR: failed to solve: executor failed running > [/bin/sh -c set -x && adduser "${BK_USER}" && apt-get update && > apt-get install -y --no-install-recommends openjdk-17-jdk && apt-get > install -y --no-install-recommends python3 pip && ln -s > /usr/bin/python3 /usr/bin/python && apt-get install -y > --no-install-recommends gpg gpg-agent wget sudo && apt-get -y --purge > autoremove && apt-get autoclean && apt-get clean && rm -rf > /var/lib/apt/lists/* && mkdir -pv /opt && cd /opt && wget -q > "${DISTRO_URL}" && wget -q "${DISTRO_URL}.asc" && wget -q > "${DISTRO_URL}.sha512" && sha512sum -c ${DISTRO_NAME}.tar.gz.sha512 && > wget https://dist.apache.org/repos/dist/release/bookkeeper/KEYS && gpg > --import KEYS && gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" > "$DISTRO_NAME.tar.gz" && tar -xzf "$DISTRO_NAME.tar.gz" && mv > bookkeeper-server-${BK_VERSION}/ /opt/bookkeeper/ && rm -rf > "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" > "$DISTRO_NAME.tar.gz.sha512" && pip install zk-shell]: exit code: 100 > 2024-04-02T12:09:28Z build hook failed! (1)