You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)"
RUN chsh -s /bin/zsh username
CMD [ "/bin/zsh" ]
this should work provided your user has the correct permissions (otherwise you may need to change the current user to root or to sudo the command)
I'm also using your script (thank you very much btw for it) to load in oh-my-zsh into a container in k8s. The thing is, I need to have restricted permissions for the user's activity and installing oh-my-zsh with root puts the /.oh-my-zsh folder out of reach to source it for the container's user and I don't want to expand the user's permissions to be able to wget or curl anything.
How can that be accomplished ?
I would like to have it working for tmux and others services inside the docker as well.
The text was updated successfully, but these errors were encountered: