-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (28 loc) · 1.37 KB
/
Dockerfile
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
32
FROM kjsandom/achel
# Install the luxury packages that will bring us the fun functionality.
RUN apt-get update && apt-get install -y screen xterm clusterssh dnsutils tmux
RUN apt-get install -y software-properties-common && \
add-apt-repository ppa:greymd/tmux-xpanes && \
apt-get update && \
apt-get install -y tmux-xpanes
# Install stuff for AWS
RUN apt-get update && apt-get install -y python3-pip && pip3 install awscli
# Install stuff for chef
# NOTE Disabled inbuilt Chef stuff for now. I need to understand it way better before I try this again. You can still create images based on this image and install it for your needs.
# ENV RUBY_VERSION=2.5.1
# ENV PATH=$PATH:/root/.rbenv/bin:/root/.rbenv/shims
# RUN apt-get install -y libssl-dev libreadline-dev zlib1g-dev
# RUN wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash && \
# rbenv install --list && rbenv install $RUBY_VERSION && \
# rbenv global $RUBY_VERSION && \
# rbenv rehash && \
# eval "$(rbenv init -)"
# RUN gem install chef && gem install chef
# Install devOpsDream
ADD . /usr/installs/devOpsDream
RUN cd /usr/installs/devOpsDream && \
/usr/installs/achel/automation/dockerInternal/preInstall && \
achelctl repoInstall `pwd` && \
/usr/installs/achel/automation/dockerInternal/postInstall && \
cd /root && \
ln -sf /usr/achelData/credentials/ssh/ .ssh