mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-23 15:41:57 +00:00
2f808f8a4e
-z --zsh can specify one of the versions of ZSH we can get from centos and ubuntu
35 lines
654 B
Docker
35 lines
654 B
Docker
FROM ubuntu:17.04
|
|
|
|
RUN \
|
|
apt-get update && \
|
|
echo 'golang-go golang-go/dashboard boolean false' | debconf-set-selections && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
curl \
|
|
git \
|
|
zsh \
|
|
mercurial \
|
|
subversion \
|
|
golang \
|
|
jq \
|
|
nodejs \
|
|
ruby \
|
|
python \
|
|
python-virtualenv \
|
|
sudo \
|
|
locales
|
|
|
|
RUN adduser --shell /bin/zsh --gecos 'fred' --disabled-password fred
|
|
RUN locale-gen "en_US.UTF-8"
|
|
|
|
COPY docker/fred-sudoers /etc/sudoers.d/fred
|
|
|
|
USER fred
|
|
WORKDIR /home/fred
|
|
ENV LANG=en_US.UTF-8
|
|
ENV TERM=xterm-256color
|
|
ENV DEFAULT_USER=fred
|
|
ENV POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true
|
|
|
|
RUN touch .zshrc
|
|
|
|
CMD ["/bin/zsh", "-l"]
|