Skip to content

Commit

Permalink
Use bash by default instead of dash (Debian Almquist Shell) : kuttl e…
Browse files Browse the repository at this point in the history
…xplicitly invokes `sh -c`

See https://wiki.ubuntu.com/DashAsBinSh
  • Loading branch information
gberche-orange committed Jul 17, 2023
1 parent f53acdc commit 822eb0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ RUN echo "Installing yq version ${YQ_VERSION}" ; \
/usr/local/bin/kubectl version \
|| echo "Installation done."

# Use bash by default instead of dash (Debian Almquist Shell) : kuttl explicitly invokes `sh -c`
# See https://wiki.ubuntu.com/DashAsBinSh
# PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN ln -s /usr/bin/bash /usr/local/sbin/sh

0 comments on commit 822eb0a

Please sign in to comment.