File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
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.6.0' 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
You can’t perform that action at this time.
0 commit comments