summaryrefslogtreecommitdiff
path: root/docker/base-4.3.11/Dockerfile
blob: 805a7ae1ebc5036f32a3231b8ec723e08abc1148 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM centos:6

RUN \
  yum install -y \
  curl \
  git \
  zsh \
  mercurial \
  subversion \
  golang \
  jq \
  node \
  ruby \
  python \
  python-virtualenv \
  sudo

RUN adduser --shell /bin/zsh --comment 'fred' --user-group fred

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"]