From 9b48e650fe5dfcce71a36d95b6d721bfd2f3ae61 Mon Sep 17 00:00:00 2001 From: Grant Griffiths Date: Thu, 25 Mar 2021 10:58:45 -0700 Subject: [PATCH] Remove docker images to avoid rate limited docker pull (#1830) Signed-off-by: Grant Griffiths --- Dockerfile.osd | 2 +- hack/docker-integration-test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.osd b/Dockerfile.osd index 0ec5dd0dd..5e1aeea3a 100644 --- a/Dockerfile.osd +++ b/Dockerfile.osd @@ -1,4 +1,4 @@ -FROM golang:1.9.2 +FROM gcr.io/distroless/base-debian10 MAINTAINER gou@portworx.com EXPOSE 9005 9100 9110 diff --git a/hack/docker-integration-test.sh b/hack/docker-integration-test.sh index c959dff46..839a144ab 100755 --- a/hack/docker-integration-test.sh +++ b/hack/docker-integration-test.sh @@ -82,7 +82,7 @@ assert_attached false # Run app with our volume app_name="APP_TEST_$volume_name" -sudo docker run -d --name $app_name --volume-driver fake -v size=12345,token=$token,name=${volume_name}:/app nginx:latest +sudo docker run -d --name $app_name --volume-driver fake -v size=12345,token=$token,name=${volume_name}:/app k8s.gcr.io/nginx-slim:0.8 assert_success assert_attached true @@ -93,7 +93,7 @@ assert_attached false # Run app based on volume ID sudo docker rm $app_name -sudo docker run -d --name $app_name --volume-driver fake -v size=12345,token=$token,name=${volume_id}:/app nginx:latest +sudo docker run -d --name $app_name --volume-driver fake -v size=12345,token=$token,name=${volume_id}:/app k8s.gcr.io/nginx-slim:0.8 assert_success assert_attached true