Created
July 27, 2022 12:19
-
-
Save argentinaluiz/db8f80023f11fe566c537b68b4dffa67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:14.15.4-slim | |
RUN mkdir -p /usr/share/man/man1 && \ | |
echo 'deb http://ftp.debian.org/debian stretch-backports main' | tee /etc/apt/sources.list.d/stretch-backports.list && \ | |
apt update && apt install -y \ | |
git \ | |
ca-certificates \ | |
zsh \ | |
curl \ | |
wget \ | |
fonts-powerline \ | |
openjdk-11-jre \ | |
libassuan0 \ | |
libgpg-error0 | |
RUN apt install -y \ | |
gpg \ | |
gnupg \ | |
gpg-agent \ | |
socat | |
ENV JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64" | |
USER node | |
WORKDIR /home/node/app | |
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.2/zsh-in-docker.sh)" -- \ | |
-t https://github.com/romkatv/powerlevel10k \ | |
-p git \ | |
-p git-flow \ | |
-p https://github.com/zdharma-continuum/fast-syntax-highlighting \ | |
-p https://github.com/zsh-users/zsh-autosuggestions \ | |
-p https://github.com/zsh-users/zsh-completions \ | |
-a 'export TERM=xterm-256color' | |
RUN echo '[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh' >> ~/.zshrc && \ | |
echo 'HISTFILE=/home/node/zsh/.zsh_history' >> ~/.zshrc | |
CMD [ "sh", "-c", "npm install && tail -f /dev/null" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment