Open aiyengar2 opened 3 years ago
As investigated in https://github.com/rancher/rancher/issues/32519#issuecomment-859162408, rancher/shell is not an option since it requires root user privileges.
rancher/shell
rancher/kubectl is also currently not an option since it builds from scratch with just a kubectl binary attached to it.
rancher/kubectl
scratch
kubectl
Therefore, we need to either:
sh
alpine
FYI rancher/shell now runs in SLE-BCI as non-root user - https://github.com/rancher/shell/blob/4c4385ac4a17cc343f21ab348a159481027b50ef/package/Dockerfile#L28.
As investigated in https://github.com/rancher/rancher/issues/32519#issuecomment-859162408,
rancher/shell
is not an option since it requires root user privileges.rancher/kubectl
is also currently not an option since it builds fromscratch
with just akubectl
binary attached to it.Therefore, we need to either:
rancher/kubectl
to havesh
(possibly by making it based off ofalpine
instead ofscratch
?)