Add a hack to undo directory creation from parent images
since it causes container initialization to fail.
Change-Id: I99dc404cd56a67a2cc84eb1a3773b028ed533d95
Issue-ID: INT-998
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
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"
#
echo "Building $IMAGE"
+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
+
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
echo "Building $IMAGE"
+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
+
#
# This is the local latest tagged image. The Dockerfile's need this to build images
#
RUN apk add --no-cache mariadb-client
RUN mkdir -p /tmp/policy-install ${POLICY_LOGS} && \
- chown policy:policy /tmp/policy-install ${POLICY_LOGS}
+ chown policy:policy /tmp/policy-install ${POLICY_LOGS} && \
+ rmdir ${POLICY_HOME}/etc/ssl && \
+ rmdir ${POLICY_HOME}/etc
WORKDIR /tmp/policy-install