Skip to content

Commit

Permalink
add debug tools
Browse files Browse the repository at this point in the history
  • Loading branch information
malt3 committed Feb 13, 2024
1 parent e0728b4 commit a673a8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ CMD ["sh", "-c", "/bin/barbican-kms-plugin --socketpath ${socketpath} --cloud-co
# all magic happens in tools/csi-deps.sh
FROM --platform=${TARGETPLATFORM} ${DEBIAN_IMAGE} as cinder-csi-plugin-utils

RUN clean-install bash rsync mount udev btrfs-progs e2fsprogs xfsprogs util-linux libcryptsetup12 libcryptsetup-dev
RUN clean-install bash rsync mount udev btrfs-progs e2fsprogs xfsprogs util-linux libcryptsetup12 libcryptsetup-dev strace
COPY tools/csi-deps.sh /tools/csi-deps.sh
RUN /tools/csi-deps.sh

Expand Down
5 changes: 5 additions & 0 deletions tools/csi-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,8 @@ cp -Lv /usr/lib/x86_64-linux-gnu/libjson-c.so* ${DEST}/usr/lib/x86_64-linux-gnu/
cp -Lv /usr/lib/x86_64-linux-gnu/libblkid.so* ${DEST}/usr/lib/x86_64-linux-gnu/
cp -Lv /usr/lib/x86_64-linux-gnu/libudev.so* ${DEST}/usr/lib/x86_64-linux-gnu/
cp -Lv /usr/lib/x86_64-linux-gnu/libpcre2-8.so* ${DEST}/usr/lib/x86_64-linux-gnu/

# debug tools
cp /bin/sh ${DEST}/bin/
cp /usr/bin/strace ${DEST}/usr/bin/
copy_deps /usr/bin/strace

0 comments on commit a673a8c

Please sign in to comment.