From fd276a728a905909b82afd78e53ad2c7677048d1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod Date: Sat, 13 Mar 2021 00:32:15 +0200 Subject: [PATCH] Use absolute image names. --- crond/Dockerfile | 2 +- docker-compose.yml | 6 +++--- z-push/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crond/Dockerfile b/crond/Dockerfile index 21c1a95..275b0f6 100644 --- a/crond/Dockerfile +++ b/crond/Dockerfile @@ -1,4 +1,4 @@ -FROM docker:20.10 as docker +FROM registry.hub.docker.com/library/docker:20.10 as docker # hadolint ignore=DL3006 FROM registry.shore.co.il/cron as supersonic diff --git a/docker-compose.yml b/docker-compose.yml index ec36813..6588523 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: "--password=$$MYSQL_PASSWORD" --execute 'SHOW DATABASES;' || exit 1 - image: mariadb:10 + image: registry.hub.docker.com/library/mariadb:10 restart: always volumes: - mysql:/var/lib/mysql @@ -64,7 +64,7 @@ services: --user "$$NEXTCLOUD_ADMIN_USER:$$NEXTCLOUD_ADMIN_PASSWORD" http://localhost/ocs/v2.php/apps/serverinfo/api/v1/info || exit 1 - image: nextcloud:21.0.0-apache + image: registry.hub.docker.com/library/nextcloud:21.0.0-apache restart: always volumes: - nextcloud:/var/www/html @@ -83,7 +83,7 @@ services: test: - CMD-SHELL - "{ echo PING | redis-cli; } || exit 1" - image: redis:6-alpine + image: registry.hub.docker.com/library/redis:6-alpine restart: always z-push: diff --git a/z-push/Dockerfile b/z-push/Dockerfile index 3e6aa4b..e854cae 100644 --- a/z-push/Dockerfile +++ b/z-push/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:buster-slim +FROM registry.hub.docker.com/library/debian:buster-slim # hadolint ignore=DL3008 RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ -- GitLab