Skip to content

Commit 85b0b8f

Browse files
add POSIX shell to docker image (#2919)
Co-authored-by: pýrus <[email protected]>
1 parent c38bd3d commit 85b0b8f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tools/csi-deps-check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ set -o errexit
2121

2222
# This utils are using by
2323
# go mod k8s.io/mount-utils
24+
/bin/sh -c true
2425
/bin/mount -V
2526
/bin/umount -V
2627
/sbin/blkid -V

tools/csi-deps.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ else
6262
mkdir -p ${DEST}/lib64 && cp -Lv /lib64/ld-linux-*.so.* ${DEST}/lib64/
6363
fi
6464

65+
# Copy POSIX shell
66+
copy_deps /bin/dash
67+
copy_deps /bin/sh
68+
6569
# To collect dmesg logs
6670
copy_deps /usr/bin/dmesg || true
6771
copy_deps /bin/dmesg || true

0 commit comments

Comments
 (0)