Skip to content

Commit a9a5491

Browse files
committed
add debug info to the download_shim.sh script
Signed-off-by: Vaughn Dice <[email protected]>
1 parent a6643dd commit a9a5491

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

images/downloader/download_shim.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ mkdir -p /assets
2525

2626
# overwrite default name of shim binary; use the name of shim resource instead
2727
# 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
28+
curl -Lo "containerd-shim-${SHIM_NAME}" "${SHIM_LOCATION}"
29+
ls -lah "containerd-shim-${SHIM_NAME}"
30+
31+
log "curl --version: $(curl --version)" "INFO"
32+
log "tar --version: $(tar --version)" "INFO"
33+
log "md5sum: $(md5sum containerd-shim-${SHIM_NAME})" "INFO"
34+
log "sha256sum: $(sha256sum containerd-shim-${SHIM_NAME})" "INFO"
35+
36+
tar -xzf "containerd-shim-${SHIM_NAME}" -C /assets
2937
log "download successful:" "INFO"
3038

3139
ls -lah /assets

0 commit comments

Comments
 (0)