File tree Expand file tree Collapse file tree 4 files changed +6
-15
lines changed
test/fixtures/insecure-registries Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 33# ---------------------------------------------------------------------
44FROM fedora:32 AS skopeo-build
55
6- RUN dnf install -y golang git make
7- RUN dnf install -y go-md2man gpgme-devel libassuan-devel btrfs-progs-devel device-mapper-devel
8- RUN git clone --depth 1 -b 'v1.5.1' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
9- RUN cd $GOPATH/src/github.com/containers/skopeo \
10- && make bin/skopeo DISABLE_CGO=1 \
11- && make install
6+ RUN dnf install -y skopeo
127
138# ---------------------------------------------------------------------
149# STAGE 2: Build credential helpers inside a temporary container
@@ -56,7 +51,7 @@ COPY --chown=snyk:snyk --from=cred-helpers-build /go/bin/docker-credential-acr-e
5651
5752WORKDIR /srv/app
5853
59- COPY --chown=snyk:snyk --from=skopeo-build /usr/local/ bin/skopeo /usr/bin/skopeo
54+ COPY --chown=snyk:snyk --from=skopeo-build /usr/bin/skopeo /usr/bin/skopeo
6055COPY --chown=snyk:snyk --from=skopeo-build /etc/containers/registries.d/default.yaml /etc/containers/registries.d/default.yaml
6156COPY --chown=snyk:snyk --from=skopeo-build /etc/containers/policy.json /etc/containers/policy.json
6257
Original file line number Diff line number Diff line change 1- FROM quay.io/operator-framework/helm-operator:v1.15
1+ FROM quay.io/operator-framework/helm-operator:v1.17
22
33LABEL name="Snyk Operator" \
44
Original file line number Diff line number Diff line change 1- FROM quay.io/operator-framework/helm-operator:v1.15
1+ FROM quay.io/operator-framework/helm-operator:v1.17
22
33LABEL name="Snyk Operator" \
44
Original file line number Diff line number Diff line change 99 - name : docker-io
1010 containers :
1111 - name : my-container
12- image : docker.io/library/golang:1.13.1-alpine3.10
12+ image : docker.io/library/fedora:35
1313 command :
1414 - " sh"
1515 args :
1616 - " -c"
17- - " apk --no-cache add git make gcc musl-dev ostree-dev go-md2man &&
18- git clone --depth 1 -b 'v0.2.0' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo &&
19- cd $GOPATH/src/github.com/containers/skopeo &&
20- make binary-local-static DISABLE_CGO=1 &&
21- make install &&
17+ - " dnf install -y skopeo &&
2218 skopeo copy --dest-tls-verify=false docker://docker.io/library/python:rc-buster docker://kind-registry:5000/python:rc-buster"
2319 restartPolicy : Never
2420 backoffLimit : 4
You can’t perform that action at this time.
0 commit comments