This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ WORKDIR $GOPATH/src/github.com/containers/skopeo
33ENV CGO_ENABLED=0
44ENV BUILDTAGS=containers_image_openpgp
55ENV DISABLE_DOCS=1
6- RUN git clone https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
7- RUN git checkout tags/v1.7.0
6+ RUN git clone --depth 1 --branch v1.7.0 https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
87RUN make bin/skopeo
98
109FROM ghcr.io/fullstack-devops/github-actions-runner:latest-base
@@ -16,7 +15,7 @@ ARG PACKAGES="ansible"
1615ARG PACKAGES_PYTHON="kubernetes"
1716
1817RUN apt-get update \
19- && add-apt-repository --yes --update ppa:ansible/ansible \
18+ && add-apt-repository -y --update ppa:ansible/ansible \
2019 && apt-get install -y --no-install-recommends ${PACKAGES} \
2120 && rm -rf /var/lib/apt/lists/* \
2221 && apt-get clean
@@ -28,6 +27,7 @@ ARG KUBECTL_VERSION=1.23.5
2827ARG HELM_VERSION=3.8.1
2928
3029COPY --from=build /go/src/github.com/containers/skopeo/bin/skopeo /usr/local/bin/skopeo
30+ COPY --from=build /go/src/github.com/containers/skopeo/default-policy.json /etc/containers/policy.json
3131
3232# Install kubectl
3333RUN export ARCH=$(/helper-scripts/translate-aarch.sh a-short) \
You can’t perform that action at this time.
0 commit comments