X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2FDockerfile.base;h=4874f1aa71453019fe6ee900670da746e3bcae99;hb=4d0a045d78b8ad411534888464d977f65ff9efc7;hp=1d74362d8ab7f7eb976d8b370324c5d5442e6997;hpb=e2fa0e67712b92c69f6863afe10c1c973a068e3e;p=aaf%2Fauthz.git diff --git a/auth/docker/Dockerfile.base b/auth/docker/Dockerfile.base index 1d74362d..4874f1aa 100644 --- a/auth/docker/Dockerfile.base +++ b/auth/docker/Dockerfile.base @@ -17,11 +17,16 @@ # limitations under the License. # ============LICENSE_END==================================================== # -FROM nexus3.onap.org:10001/openjdk:8-jre-alpine +# Use dbuild.sh input parameter to set registry +FROM ${REGISTRY}/openjdk:8-jre-alpine +#FROM openjdk:12-jdk-alpine +#FROM openjdk:13-jdk-alpine + MAINTAINER AAF Team, AT&T 2018 LABEL description="aaf_base" -RUN apk add --no-cache bash -RUN apk add --no-cache openssl -RUN addgroup aaf && adduser aaf -G aaf -D -s /bin/bash +RUN apk add --no-cache bash &&\ + apk add --no-cache openssl &&\ + apk add --no-cache curl &&\ + if [ -n "${DUSER}" ]; then addgroup ${DUSER} && adduser ${DUSER} -G ${DUSER} -D -s /bin/bash; fi