We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6643dd commit d8bc712Copy full SHA for d8bc712
images/downloader/download_shim.sh
@@ -25,7 +25,12 @@ mkdir -p /assets
25
26
# overwrite default name of shim binary; use the name of shim resource instead
27
# to enable installing multiple versions of the same shim
28
-curl -sL "${SHIM_LOCATION}" | tar --transform "s/containerd-shim-.*/containerd-shim-${SHIM_NAME}/" -xzf - -C /assets
+curl -Lo "containerd-shim-${SHIM_NAME}" "${SHIM_LOCATION}"
29
+ls -lah "containerd-shim-${SHIM_NAME}"
30
+log "md5sum: $(md5sum containerd-shim-${SHIM_NAME})"
31
+log "sha256sum: $(sha256sum containerd-shim-${SHIM_NAME})"
32
+
33
+tar -xzf "containerd-shim-${SHIM_NAME}" -C /assets
34
log "download successful:" "INFO"
35
36
ls -lah /assets
0 commit comments