1
0
mirror of https://github.com/containers/buildah.git synced 2026-02-06 03:45:19 +01:00

remove registry.centos.org

registry.centos.org is now decommissioned

Ref: https://lists.centos.org/pipermail/centos-devel/2023-May/142956.html

Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
Aditya R
2023-05-26 21:56:16 +05:30
parent ebf41403a6
commit beae5647c0
10 changed files with 11 additions and 11 deletions

View File

@@ -319,7 +319,7 @@ cat /etc/containers/registries.conf
# and 'registries.block'.
[registries.search]
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com', 'registry.centos.org']
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com']
# If you need to access insecure registries, add the registry's fully-qualified name.
# An insecure registry is one that does not have a valid SSL certificate or only does HTTP.

View File

@@ -20,7 +20,7 @@ First, pull base images used by various conformance tests:
bash
docker pull alpine
docker pull busybox
docker pull registry.centos.org/centos/centos:centos7
docker pull docker.io/library/centos:centos7
```
Then you can run all of the tests with go test:

View File

@@ -1,4 +1,4 @@
FROM registry.centos.org/centos/centos:centos7 AS base
FROM docker.io/library/centos:centos7 AS base
RUN touch -t 201701261659.13 /1
ENV LOCAL=/1

View File

@@ -1,3 +1,3 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
SHELL ["/bin/bash", "-xc"]
RUN env

View File

@@ -1,3 +1,3 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY script /usr/bin
RUN ls -al /usr/bin/script

View File

@@ -1,3 +1,3 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY dir /dir
RUN ls -al /dir/file

View File

@@ -1,3 +1,3 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY file1 /usr/bin/file2
RUN ls -al /usr/bin/file2 && ! ls -al /usr/bin/file1

View File

@@ -1,2 +1,2 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY file-link.tar.gz /

View File

@@ -1,7 +1,7 @@
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY file.tar.gz /
RUN ln -s file.tar.gz file-link.tar.gz
RUN ls -l /file-link.tar.gz
FROM registry.centos.org/centos/centos:centos7
FROM docker.io/library/centos:centos7
COPY --from=0 /file-link.tar.gz /
RUN ls -l /file-link.tar.gz

View File

@@ -12,7 +12,7 @@ load helpers
skip_if_no_runtime
# Build a container to use for building the binaries.
image=registry.centos.org/centos/centos:centos7
image=docker.io/library/centos:centos7
cid=$(buildah from --pull --signature-policy ${TEST_SOURCES}/policy.json $image)
root=$(buildah mount $cid)
commit=$(git log --format=%H -n 1)