Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The eclipse-temurin:21-jre and eclipse-temurin:21-jdk Docker tags were recently updated to point to 21-jre-noble and 21-jdk-noble respectively. In this new version of Ubuntu the libaio1 package was renamed to libaio1t64 so the relevant Docker files need to be updated. Here's the error I was getting when attempting to build before updating the package name:
[+] Building 5.0s (11/19) docker-container:eloquent_stonebraker => [internal] load build definition from Dockerfile-ubuntu-21-jre 0.0s => => transferring dockerfile: 2.04kB 0.0s => [linux/arm64 internal] load metadata for docker.io/library/eclipse-temurin:21-jre 0.1s => [linux/amd64 internal] load metadata for docker.io/library/eclipse-temurin:21-jre 0.2s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build context 0.0s => => transferring context: 7.68kB 0.0s => [linux/arm64 1/7] FROM docker.io/library/eclipse-temurin:21-jre@sha256:33c033fbc177c46ae097fc01575e6a0df665dbecc49d1cff2227b969672697cb 0.0s => => resolve docker.io/library/eclipse-temurin:21-jre@sha256:33c033fbc177c46ae097fc01575e6a0df665dbecc49d1cff2227b969672697cb 0.0s => [linux/amd64 1/7] FROM docker.io/library/eclipse-temurin:21-jre@sha256:33c033fbc177c46ae097fc01575e6a0df665dbecc49d1cff2227b969672697cb 0.0s => => resolve docker.io/library/eclipse-temurin:21-jre@sha256:33c033fbc177c46ae097fc01575e6a0df665dbecc49d1cff2227b969672697cb 0.0s => CACHED [linux/arm64 2/7] WORKDIR /opt 0.0s => CANCELED [linux/arm64 3/7] RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis && apt-get -qq -o=Dpkg::Use-Pty=0 update && apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1 && rm -rf /var/lib/apt/lists/* 4.8s => CACHED [linux/amd64 2/7] WORKDIR /opt 0.0s => ERROR [linux/amd64 3/7] RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis && apt-get -qq -o=Dpkg::Use-Pty=0 update && apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1 && rm -rf /var/lib/apt/lists/* 4.8s ------ > [linux/amd64 3/7] RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis && apt-get -qq -o=Dpkg::Use-Pty=0 update && apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1 && rm -rf /var/lib/apt/lists/*: 0.062 useradd warning: artemis's uid 1001 is greater than SYS_UID_MAX 999 4.719 E: Package 'libaio1' has no installation candidate ------ Dockerfile-ubuntu-21-jre:32 -------------------- 31 | # add user and group for artemis 32 | >>> RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis \ 33 | >>> && apt-get -qq -o=Dpkg::Use-Pty=0 update && \ 34 | >>> apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1 && \ 35 | >>> rm -rf /var/lib/apt/lists/* 36 | -------------------- ERROR: failed to solve: process "/bin/bash -o pipefail -c groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis && apt-get -qq -o=Dpkg::Use-Pty=0 update && apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1 && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
Attachments
Issue Links
- relates to
-
ARTEMIS-5055 AIO not detected in official Ubuntu Docker image
- Closed
- links to