2017-07-12 08:46:32 +02:00
|
|
|
FROM centos:6
|
2017-07-11 00:39:55 +02:00
|
|
|
|
|
|
|
RUN \
|
2017-07-12 08:46:32 +02:00
|
|
|
yum install -y \
|
2017-07-11 00:39:55 +02:00
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
zsh \
|
|
|
|
mercurial \
|
|
|
|
subversion \
|
|
|
|
golang \
|
|
|
|
jq \
|
|
|
|
node \
|
|
|
|
ruby \
|
|
|
|
python \
|
2017-07-12 08:46:32 +02:00
|
|
|
python-virtualenv \
|
|
|
|
sudo
|
2017-07-11 00:39:55 +02:00
|
|
|
|
2017-07-12 08:46:32 +02:00
|
|
|
RUN adduser --shell /bin/zsh --comment 'fred' --user-group fred
|
2017-07-11 00:39:55 +02:00
|
|
|
|
|
|
|
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"]
|