File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,15 @@ RUN set -x && \
1919 mercurial \
2020 subversion \
2121 unzip
22+ ARG PROTOC_AARCH64_SHA256="ceb29d4890a31ba871829d22c2b7fa28f237d2b91ce4ea2a53e893d60a1cd502"
23+ ARG PROTOC_X86_64_SHA256="d4246a5136cf9cd1abc851c521a1ad6b8884df4feded8b9cbd5e2a2226d4b357"
2224RUN if [ "${TARGETARCH}" == "arm64" ]; then \
2325 curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-aarch_64.zip; \
26+ echo "${PROTOC_AARCH64_SHA256} protoc-3.17.3-linux-aarch_64.zip" | sha256sum -c -; \
2427 unzip protoc-3.17.3-linux-aarch_64.zip -d /usr; \
2528 else \
2629 curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip; \
30+ echo "${PROTOC_X86_64_SHA256} protoc-3.17.3-linux-x86_64.zip" | sha256sum -c -; \
2731 unzip protoc-3.17.3-linux-x86_64.zip -d /usr; \
2832 fi
2933# setup containerd build
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ RUN set -x && \
2020 subversion \
2121 mingw-w64-gcc \
2222 unzip
23+ ARG PROTOC_X86_64_SHA256="d4246a5136cf9cd1abc851c521a1ad6b8884df4feded8b9cbd5e2a2226d4b357"
2324RUN curl -LO https://github.com/google/protobuf/releases/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip; \
25+ echo "${PROTOC_X86_64_SHA256} protoc-3.17.3-linux-x86_64.zip" | sha256sum -c -; \
2426 unzip protoc-3.17.3-linux-x86_64.zip -d /usr;
2527# setup containerd build
2628ARG SRC="github.com/k3s-io/containerd"
You can’t perform that action at this time.
0 commit comments