Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 92fce39

Browse files
Micah Abbottmike-nguyen
authored andcommitted
Update Dockerfiles to use proper FROM field (#202)
The Dockerfiles we use in our tests had a myriad of FROM formats, so this cleans up the state of those. Now all the FROM lines have the following: - fully-qualified domain - explict tag (:latest or otherwise) Additionally, the CentOS and Fedora base images are changed to be pulled from the community registries instead of docker.io
1 parent 4dc199c commit 92fce39

17 files changed

Lines changed: 17 additions & 17 deletions

File tree

roles/docker_build_httpd/files/centos_httpd_Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM centos
1+
FROM registry.centos.org/centos/centos:latest
22
MAINTAINER Micah Abbott <[email protected]>
33

44
LABEL Version=1.2

roles/docker_build_httpd/files/fedora_httpd_Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fedora
1+
FROM registry.fedoraproject.org/fedora:latest
22
MAINTAINER Micah Abbott <[email protected]>
33

44
LABEL Version=1.2

roles/docker_build_httpd/files/rhel7_httpd_Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/rhel7
1+
FROM registry.access.redhat.com/rhel7:latest
22
MAINTAINER Micah Abbott <[email protected]>
33

44
LABEL Version=1.3

roles/docker_build_tag_push/files/centos/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pull the rhel image from the local repository
2-
FROM docker.io/centos:7
2+
FROM registry.centos.org/centos/centos:latest
33
USER root
44

55
MAINTAINER Maintainer_Name

roles/docker_build_tag_push/files/centos/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Version 1
44

55
# Pull the rhel image from the local repository
6-
FROM docker.io/centos:7
6+
FROM registry.centos.org/centos/centos:latest
77
USER root
88

99
MAINTAINER Maintainer_Name

roles/docker_build_tag_push/files/fedora/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.fedoraproject.org/fedora:25
1+
FROM registry.fedoraproject.org/fedora:latest
22
USER root
33

44
MAINTAINER Maintainer_Name

roles/docker_build_tag_push/files/fedora/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Pull the rhel image from the local repository
2-
FROM registry.fedoraproject.org/fedora:25
2+
FROM registry.fedoraproject.org/fedora:latest
33
USER root
44

55
MAINTAINER Maintainer_Name

roles/docker_build_tag_push/files/rhel7/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Version 1
44

55
# Pull the rhel image from the local repository
6-
FROM registry.access.redhat.com/rhel:7.3
6+
FROM registry.access.redhat.com/rhel:latest
77
USER root
88

99
MAINTAINER Maintainer_Name

roles/docker_build_tag_push/files/rhel7/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Version 1
44

55
# Pull the rhel image from the local repository
6-
FROM registry.access.redhat.com/rhel:7.3
6+
FROM registry.access.redhat.com/rhel:latest
77
USER root
88

99
MAINTAINER Maintainer_Name

tests/docker-build-httpd/files/alpine_httpd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/alpine
1+
FROM docker.io/alpine:latest
22
MAINTAINER Micah Abbott <[email protected]>
33

44
LABEL Version=1.1

0 commit comments

Comments
 (0)