Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions images/cache/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright Authors of Cilium
# SPDX-License-Identifier: Apache-2.0

FROM docker.io/library/alpine:3.16.0@sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c as import-cache
FROM docker.io/library/alpine:3.16.2@sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad as import-cache

RUN --mount=type=bind,target=/host-tmp \
--mount=type=cache,target=/root/.cache \
Expand All @@ -17,7 +17,7 @@ RUN --mount=type=bind,target=/host-tmp \
tar xzf /host-tmp/go-pkg-cache.tar.gz --no-same-owner -C /go/pkg; \
fi

FROM docker.io/library/alpine:3.16.0@sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c as cache-creator
FROM docker.io/library/alpine:3.16.2@sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad as cache-creator
RUN --mount=type=cache,target=/root/.cache \
--mount=type=cache,target=/go/pkg \
tar czf /tmp/go-build-cache.tar.gz -C /root/.cache/go-build . ; \
Expand Down