Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki
Last active January 25, 2023 23:23
Show Gist options
  • Save MichalZalecki/4a87880bbe7a3a5428b5aebebaa5cd97 to your computer and use it in GitHub Desktop.
Save MichalZalecki/4a87880bbe7a3a5428b5aebebaa5cd97 to your computer and use it in GitHub Desktop.
Install oh-my-zsh in Docker
RUN ["apt-get", "update"]
RUN ["apt-get", "install", "-y", "zsh"]
RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true
# docker exec -it my-app-container /bin/zsh
@roeniss
Copy link

roeniss commented May 8, 2021

Let me confess -- I had an issue same with @b232wang. Then suddenly I realized that I used dke alias all the time which is actually docker exec -it $1 bash and made by me. I got horrified by myself..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment