[Bug 13196] New: adduser returned a non-zero code: 1

bugzilla at busybox.net bugzilla at busybox.net
Thu Sep 10 15:25:56 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=13196

            Bug ID: 13196
           Summary: adduser returned a non-zero code: 1
           Product: Busybox
           Version: 1.32.x
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: lrtmathias at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

when executing this Dockerfile :

FROM cebesvc-nexus-prod.sxpbelux.net:5000/busybox:1.32 as source
RUN addgroup -S axonserver
RUN adduser -S -h /axonserver -D axonserver
RUN mkdir -p /axonserver/config /axonserver/data /axonserver/events
/axonserver/log
RUN chown -R axonserver:axonserver /axonserver

FROM cebesvc-nexus-prod.sxpbelux.net:5000/distroless/java:11

COPY --from=source /etc/passwd /etc/group /etc/
COPY --from=source --chown=axonserver /axonserver /axonserver

COPY --chown=axonserver axonserver.jar /axonserver/

USER axonserver
WORKDIR /axonserver

ENTRYPOINT [ "java", "-jar", "axonserver.jar" ]


result is now :

Sending build context to Docker daemon  366.6MB
Step 1/12 : FROM cebesvc-nexus-prod.sxpbelux.net:5000/busybox:1.32 as source
 ---> 6858809bf669
Step 2/12 : RUN addgroup -S axonserver
 ---> Using cache
 ---> ec9b0ad09079
Step 3/12 : RUN adduser -S -h /axonserver -D axonserver
 ---> Running in 569b407e1f4a
adduser: unknown group nogroup
The command '/bin/sh -c adduser -S -h /axonserver -D axonserver' returned a
non-zero code: 1

problem seems non existent with a 1.31, only present in 1.32

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list