X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2FDockerfile.base;h=4ba4dfaba284a883194ed4b99f6177e349bf66d1;hb=be1edcb6830745015f5de72e820f40f36dd571ad;hp=623d18d4f3a3a5042c7ccb50d96756d5c07c894b;hpb=12414fe43077e12d7ef711951b1633ad31d73573;p=aaf%2Fauthz.git diff --git a/auth/docker/Dockerfile.base b/auth/docker/Dockerfile.base index 623d18d4..4ba4dfab 100644 --- a/auth/docker/Dockerfile.base +++ b/auth/docker/Dockerfile.base @@ -17,10 +17,17 @@ # 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:11.0.5-jre-slim +FROM ${REGISTRY}/openjdk:8-jdk-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 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