aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker_build.sh4
-rw-r--r--docker_merge.sh4
-rw-r--r--docker_verify.sh4
-rw-r--r--packages/docker/src/main/docker/Dockerfile4
4 files changed, 15 insertions, 1 deletions
diff --git a/docker_build.sh b/docker_build.sh
index 64abc907..bce8a835 100644
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -48,6 +48,10 @@ fi
echo $MVN_MAJMIN_VERSION
+docker login -u docker -p docker nexus3.onap.org:10001
+docker pull nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0
+docker tag nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0 onap/policy-common-alpine:1.4.0
+
echo "Building $IMAGE"
#
diff --git a/docker_merge.sh b/docker_merge.sh
index 3cbef595..ed7677a9 100644
--- a/docker_merge.sh
+++ b/docker_merge.sh
@@ -48,6 +48,10 @@ fi
echo $MVN_MAJMIN_VERSION
+docker login -u docker -p docker nexus3.onap.org:10001
+docker pull nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0
+docker tag nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0 onap/policy-common-alpine:1.4.0
+
echo "Building $IMAGE"
#
diff --git a/docker_verify.sh b/docker_verify.sh
index e2fbe27b..d3ad6e0a 100644
--- a/docker_verify.sh
+++ b/docker_verify.sh
@@ -51,6 +51,10 @@ fi
echo $MVN_MAJMIN_VERSION
+docker login -u docker -p docker nexus3.onap.org:10001
+docker pull nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0
+docker tag nexus3.onap.org:10001/onap/policy-common-alpine:1.4.0 onap/policy-common-alpine:1.4.0
+
echo "Building $IMAGE"
#
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index 6f4d9a28..4c457cb1 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -21,7 +21,9 @@ RUN apk add --no-cache \
&& pip install http-prompt
RUN mkdir -p ${POLICY_CONFIG} ${POLICY_LOGS} ${POLICY_INSTALL_INIT} && \
- chown -R policy:policy ${POLICY_LOGS} ${POLICY_INSTALL}
+ chown -R policy:policy ${POLICY_LOGS} ${POLICY_INSTALL} && \
+ rmdir ${POLICY_HOME}/etc/ssl && \
+ rmdir ${POLICY_HOME}/etc
WORKDIR ${POLICY_INSTALL}
COPY install-drools.zip docker-install.sh do-start.sh wait-for-port.sh ./