mirror of
https://github.com/containers/skopeo.git
synced 2025-07-07 11:49:18 +00:00
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:
parent
61b62f9e93
commit
b7bf15bc8b
@ -1,9 +1,12 @@
|
|||||||
FROM golang:1.14-buster
|
FROM registry.fedoraproject.org/fedora:33
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN dnf update -y && \
|
||||||
apt-get install -y \
|
dnf install -y \
|
||||||
libdevmapper-dev \
|
btrfs-progs-devel \
|
||||||
libgpgme11-dev
|
device-mapper-devel \
|
||||||
|
golang \
|
||||||
|
gpgme-devel \
|
||||||
|
make
|
||||||
|
|
||||||
ENV GOPATH=/
|
ENV GOPATH=/
|
||||||
WORKDIR /src/github.com/containers/skopeo
|
WORKDIR /src/github.com/containers/skopeo
|
||||||
|
@ -802,7 +802,7 @@ func (s *CopySuite) TestCopySignatures(c *check.C) {
|
|||||||
"--policy", policy, "copy", "docker://busybox:latest", dirDest)
|
"--policy", policy, "copy", "docker://busybox:latest", dirDest)
|
||||||
|
|
||||||
// type: insecureAcceptAnything
|
// 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
|
// type: signedBy
|
||||||
// Sign the images
|
// Sign the images
|
||||||
|
@ -50,6 +50,11 @@
|
|||||||
{
|
{
|
||||||
"type": "insecureAcceptAnything"
|
"type": "insecureAcceptAnything"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"quay.io/openshift": [
|
||||||
|
{
|
||||||
|
"type": "insecureAcceptAnything"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dir": {
|
"dir": {
|
||||||
|
Loading…
Reference in New Issue
Block a user