diff --git a/Dockerfile b/Dockerfile index b1240e5..e36947a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM eclipse-temurin:8-jdk-alpine +FROM eclipse-temurin:8-jdk MAINTAINER Xetus OSS # Add the archiva user and group with a specific UID/GUI to ensure RUN addgroup --gid 1000 archiva &&\ - adduser --system -u 1000 -G archiva archiva &&\ - apk add bash curl + adduser --system -u 1000 --gid 1000 archiva &&\ + apt update &&\ + apt install bash curl # Set archiva-base as the root directory we will symlink out of. ENV ARCHIVA_HOME /archiva @@ -37,4 +38,4 @@ VOLUME /archiva-data STOPSIGNAL SIGINT # Use our custom entrypoint -ENTRYPOINT [ "/entrypoint.sh" ] \ No newline at end of file +ENTRYPOINT [ "/entrypoint.sh" ]