Last active
January 31, 2022 03:53
-
-
Save jaymody/6ca1228259fd3eb9b5cdde2212683a09 to your computer and use it in GitHub Desktop.
Dockerfile for a barebones ubuntu image with my dotfiles setup
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 ubuntu:20.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt update -y && apt upgrade -y && apt install -y \ | |
curl \ | |
git \ | |
vim \ | |
zsh | |
RUN apt autoremove -y && apt clean && rm -rf "/var/lib/apt/lists/*" "/tmp/*" "/var/tmp/*" | |
RUN git clone https://github.com/jaymody/dotfiles.git ~/.dotfiles && \ | |
cd ~/.dotfiles && \ | |
printf "o" | bash link $HOME/.dotfiles/dotfiles && \ | |
RUNZSH=no bash zsh/setup.sh && \ | |
chsh -s $(which zsh) | |
CMD ["/bin/zsh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment