From 1cd5b357b555d07d9a80f8a7499cf63a4f016a05 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 19 Nov 2020 14:38:14 -0500 Subject: Work around docker rate limit in CSITs 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 --- models-sim/models-sim-dmaap/src/main/package/docker/Dockerfile | 4 ++-- models-sim/policy-models-sim-pdp/src/main/package/docker/Dockerfile | 4 ++-- .../policy-models-simulators/src/main/package/docker/Dockerfile | 2 +- 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" -- cgit 1.2.3-korg