X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fdocker%2FDockerfile.base;h=e7ae643284d28d3691f0c8566ac3ced922b9a9c2;hb=5c01796be69ed71c360dade8a080a4fd22c06447;hp=879c3191e7428e6457d1c6faba7b29638dfbebf7;hpb=27afb0201ce717c25d8ffcc50f8b4972fc98f5c5;p=aaf%2Fauthz.git diff --git a/auth/docker/Dockerfile.base b/auth/docker/Dockerfile.base index 879c3191..e7ae6432 100644 --- a/auth/docker/Dockerfile.base +++ b/auth/docker/Dockerfile.base @@ -17,11 +17,13 @@ # 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 MAINTAINER AAF Team, AT&T 2018 LABEL description="aaf_base" -RUN apk add --no-cache bash -RUN apk add --no-cache openssl -RUN addgroup ${USER} && adduser ${USER} -G ${USER} -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