#2187 FQDN registries in Dockerfile FROM statements
Closed 2 years ago by praiskup. Opened 2 years ago by praiskup.
Unknown source docker-fixes  into  main

file modified
+1 -1
@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  ENV export LANG=en_US.UTF-8

@@ -1,10 +1,10 @@

- FROM fedora/nginx

+ # Crafted with the help of the SCLOrg docs:

+ # https://github.com/sclorg/nginx-container/tree/master/1.20#3-prepare-an-application-inside-a-container

+ 

+ FROM quay.io/centos7/nginx-120-centos7

  

  MAINTAINER copr-devel@lists.fedorahosted.org

  

- # Stop listening on port 80 (taken by dist-git).  We don't need the port 666

- # here, but we need to use something for the sake of config "patching"

- # simplicity.

- RUN sed -i  's/80 /666 /' /etc/nginx/nginx.conf

+ COPY files/etc/nginx/conf.d/copr-be.conf /opt/app-root/etc/nginx.d/

  

- COPY files/ /

+ CMD nginx -g "daemon off;"

file modified
+1 -1
@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # TERM is to make the tito work in container, rhbz#1733043

@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # TERM is to make the tito work in container, rhbz#1733043

file modified
+1 -1
@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # TERM is to make the tito work in container, rhbz#1733043

file modified
+1 -1
@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # TERM is to make the tito work in container, rhbz#1733043

@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  

  MAINTAINER copr-devel@lists.fedorahosted.org

  

@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # Copy files from the host into the container

file modified
+1 -1
@@ -1,4 +1,4 @@

- FROM fedora:35

+ FROM registry.fedoraproject.org/fedora:35

  MAINTAINER copr-devel@lists.fedorahosted.org

  

  # Deployment instructions are described here