From def1064c3f2cba65f1c5813691936d5a295fbb82 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Sun, 12 May 2019 14:55:53 +0900 Subject: [PATCH] bug fix --- nexus/3-alpine/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nexus/3-alpine/Dockerfile b/nexus/3-alpine/Dockerfile index 445087e..7b06063 100644 --- a/nexus/3-alpine/Dockerfile +++ b/nexus/3-alpine/Dockerfile @@ -17,6 +17,7 @@ RUN set -x \ && apk --no-cache add \ openjdk8-jre-base \ libressl \ + nss \ su-exec \ && mkdir -p "${SONATYPE_DIR}" \ && wget -qO - "https://download.sonatype.com/nexus/3/nexus-${NEXUS_VERSION}-unix.tar.gz" \ @@ -24,13 +25,16 @@ RUN set -x \ && mv "${SONATYPE_DIR}/nexus-${NEXUS_VERSION}" "${NEXUS_HOME}" \ && adduser -S -h ${NEXUS_DATA} nexus +COPY bin/docker-entrypoint.sh / +RUN set -x \ + && chmod +x /docker-entrypoint.sh + EXPOSE 5000 8081 8443 WORKDIR "${NEXUS_HOME}" VOLUME "${NEXUS_DATA}" -COPY bin/docker-entrypoint.sh / ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["bin/nexus", "run"] \ No newline at end of file