Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update maven docker tag to v3.9.9 (release/10.0) #351

Closed
wants to merge 1 commit into from

Update maven Docker tag to v3.9.9

8b1aac5
Select commit
Loading
Failed to load commit list.
Closed

chore(deps): update maven docker tag to v3.9.9 (release/10.0) #351

Update maven Docker tag to v3.9.9
8b1aac5
Select commit
Loading
Failed to load commit list.
jenkins.ivyteam.io / Jenkins failed Feb 9, 2025 in 41s

build: error in 'sh' step

build / Shell Script

Error in sh step, with arguments docker build -t "$JD_IMAGE" ..

script returned exit code 1
Build log
+ docker build -t maven .
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 655B done
#1 DONE 0.1s

#2 [internal] load metadata for docker.io/library/maven:3.9.9-eclipse-temurin-17
#2 DONE 0.9s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.1s

#4 [1/3] FROM docker.io/library/maven:3.9.9-eclipse-temurin-17@sha256:b9fc7a802745f5f4dec3007d7668c8c9da845ac41d37737ec6442a35b853c258
#4 CACHED

#5 [2/3] RUN addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos "" build
#5 0.274 fatal: The GID `1000' is already in use.
#5 ERROR: process "/bin/sh -c addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos \"\" build" did not complete successfully: exit code: 21
------
 > [2/3] RUN addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos "" build:
0.274 fatal: The GID `1000' is already in use.
------
Dockerfile:3
--------------------
   1 |     FROM maven:3.9.9-eclipse-temurin-17
   2 |     
   3 | >>> RUN addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos "" build
   4 |     
   5 |     RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \
--------------------
ERROR: failed to solve: process "/bin/sh -c addgroup --gid 1000 build && adduser --uid 1000 --gid 1000 --disabled-password --gecos \"\" build" did not complete successfully: exit code: 21

Details

  • Declarative: Checkout SCM (3.4 sec)
    • build (37 sec)
      Error: script returned exit code 1