Closed RomainPhil closed 4 years ago
So i found a solution,
from this Dockerfile who cause the errors
FROM sonatype/nexus3:3.22.0
USER root:0
RUN rm -Rf ./nexus-data/*
COPY ./nexus-data ./nexus-data
RUN chown -R nexus:nexus nexus-data
EXPOSE 8081
USER nexus:200
to this one who doesn't raise an error, it seems the same for me but it works
FROM sonatype/nexus3:3.22.0
USER root:0
COPY --chown nexus:nexus ./nexus-data ./nexus-data
EXPOSE 8081
USER nexus:200
if anyone had a answer why i'm interest, otherwise you can close this issue
Hi, I've create a first container with a docker compose
after having config it, would like to create a new image and keep the configuration.
so i launch the Dockerfile below in /etc/nexus
i got the following issue :
i've check the permission and the user with a modification into the docker file and the user configured into my copied files i've got the nexus:nexus as owner and 755 for folder and 644 for file.