Dockerfile.build: switch to fedora:latest

CopySuite.TestCopySignatures: Use quay.io instead of docker.io.

Resolves: gh#174

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-02-23 14:38:20 -05:00 committed by Valentin Rothberg
parent 61b62f9e93
commit b7bf15bc8b
3 changed files with 14 additions and 6 deletions

View File

@ -1,9 +1,12 @@
FROM golang:1.14-buster
FROM registry.fedoraproject.org/fedora:33
RUN apt-get update && \
apt-get install -y \
libdevmapper-dev \
libgpgme11-dev
RUN dnf update -y && \
dnf install -y \
btrfs-progs-devel \
device-mapper-devel \
golang \
gpgme-devel \
make
ENV GOPATH=/
WORKDIR /src/github.com/containers/skopeo

View File

@ -802,7 +802,7 @@ func (s *CopySuite) TestCopySignatures(c *check.C) {
"--policy", policy, "copy", "docker://busybox:latest", dirDest)
// type: insecureAcceptAnything
assertSkopeoSucceeds(c, "", "--policy", policy, "copy", "docker://openshift/hello-openshift", dirDest)
assertSkopeoSucceeds(c, "", "--policy", policy, "copy", "docker://quay.io/openshift/origin-hello-openshift", dirDest)
// type: signedBy
// Sign the images

View File

@ -50,6 +50,11 @@
{
"type": "insecureAcceptAnything"
}
],
"quay.io/openshift": [
{
"type": "insecureAcceptAnything"
}
]
},
"dir": {