Skip to content

Commit

Permalink
Remove docker images to avoid rate limited docker pull (#1830)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Griffiths <[email protected]>
  • Loading branch information
Grant Griffiths authored Mar 25, 2021
1 parent 652dd80 commit 9b48e65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.osd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.2
FROM gcr.io/distroless/base-debian10
MAINTAINER [email protected]

EXPOSE 9005 9100 9110
Expand Down
4 changes: 2 additions & 2 deletions hack/docker-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 9b48e65

Please sign in to comment.