aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-11-19 14:38:14 -0500
committerJim Hahn <jrh3@att.com>2020-11-19 14:49:44 -0500
commit1cd5b357b555d07d9a80f8a7499cf63a4f016a05 (patch)
treebbf9be10c9a5bdc0715621b80d5a740673a1d8d7
parent6a437ba087e2354f50275ef2acd3dac35985ba39 (diff)
Work around docker rate limit in CSITsfrankfurt
CSITs are failing regularly due to download rate limits that were recently introduced on dockerhub. Modified the Dockerfiles for the simulators that are used by the CSITs to pull the base images from nexus3 instead of dockerhub. Based on feedback from Steve Winslow, it's OK to pull base images from nexus3 provided that the docker images generated from it are not actually released. In the case of the simulators, only snapshot images are ever created. Also added the policy alpine version number to ensure the appropriate docker base is used for frankfurt. Issue-ID: POLICY-2895 Change-Id: I61393f3551c2257b75948f39add0b5163265e152 Signed-off-by: Jim Hahn <jrh3@att.com>
-rw-r--r--models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile4
-rw-r--r--models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile4
-rw-r--r--models-sim/policy-models-simulators/src/main/package/docker/Dockerfile2
3 files changed, 5 insertions, 5 deletions
diff --git a/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile b/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
index 495924d5b..5a721506f 100644
--- a/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
+++ b/models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile
@@ -1,7 +1,7 @@
#
# ============LICENSE_START=======================================================
# Copyright (C) 2019 Nordix Foundation.
-# Modifications Copyright (C) 2019 AT&T Intellectual Property.
+# Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
# Docker file to build an image that runs the DMaaP simulator on Java 8 in alpine
#
-FROM onap/policy-jre-alpine
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
LABEL maintainer="Policy Team"
diff --git a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
index b70844e65..ec02ea87b 100644
--- a/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
+++ b/models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile
@@ -1,7 +1,7 @@
#
# ============LICENSE_START=======================================================
# Copyright (C) 2019 Nordix Foundation.
-# Modifications Copyright (C) 2019 AT&T Intellectual Property.
+# Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@
# Docker file to build an image that runs the PDP simulator on Java 8 in alpine
#
-FROM onap/policy-jre-alpine
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
LABEL maintainer="Policy Team"
diff --git a/models-sim/policy-models-simulators/src/main/package/docker/Dockerfile b/models-sim/policy-models-simulators/src/main/package/docker/Dockerfile
index c41cd3804..861c17b77 100644
--- a/models-sim/policy-models-simulators/src/main/package/docker/Dockerfile
+++ b/models-sim/policy-models-simulators/src/main/package/docker/Dockerfile
@@ -24,7 +24,7 @@
# Docker file to build an image that runs the simulators
#
-FROM onap/policy-jre-alpine:2.0.1
+FROM nexus3.onap.org:10001/onap/policy-jre-alpine:2.0.1
LABEL maintainer="Policy Team"