Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
To version 2.1.17-SNAPSHOT
[aaf/authz.git]
/
auth
/
docker
/
Dockerfile.base
diff --git
a/auth/docker/Dockerfile.base
b/auth/docker/Dockerfile.base
index
623d18d
..
4874f1a
100644
(file)
--- a/
auth/docker/Dockerfile.base
+++ b/
auth/docker/Dockerfile.base
@@
-17,10
+17,16
@@
# limitations under the License.
# ============LICENSE_END====================================================
#
# 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"
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