File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,10 @@ COPY --from=ghcr.io/sigstore/cosign/cosign:v2.2.3@sha256:8fc9cad121611e8479f65f7
329
329
ARG SOCI_SNAPSHOTTER_VERSION
330
330
RUN fname="soci-snapshotter-${SOCI_SNAPSHOTTER_VERSION}-${TARGETOS:-linux}-${TARGETARCH:-amd64}.tar.gz" && \
331
331
curl -o "${fname}" -fsSL --proto '=https' --tlsv1.2 "https://github.com/awslabs/soci-snapshotter/releases/download/v${SOCI_SNAPSHOTTER_VERSION}/${fname}" && \
332
- tar -C /usr/local/bin -xvf "${fname}" soci soci-snapshotter-grpc
332
+ tar -C /usr/local/bin -xvf "${fname}" soci soci-snapshotter-grpc && \
333
+ mkdir -p /etc/soci-snapshotter-grpc && \
334
+ touch /etc/soci-snapshotter-grpc/config.toml && \
335
+ echo "\n [pull_modes]\n [pull_modes.soci_v1]\n enable = true" >> /etc/soci-snapshotter-grpc/config.toml
333
336
# enable offline ipfs for integration test
334
337
COPY --from=build-kubo /out/${TARGETARCH:-amd64}/* /usr/local/bin/
335
338
COPY ./Dockerfile.d/test-integration-etc_containerd-stargz-grpc_config.toml /etc/containerd-stargz-grpc/config.toml
You can’t perform that action at this time.
0 commit comments