2019-01-11 06:41:58 +00:00
|
|
|
FROM ubuntu:18.04
|
2019-01-11 06:22:53 +00:00
|
|
|
|
2019-01-11 06:41:58 +00:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2019-01-11 06:22:53 +00:00
|
|
|
|
2019-01-11 06:41:58 +00:00
|
|
|
ADD ./setup-mirror /tmp/setup-mirror
|
2019-01-11 07:04:02 +00:00
|
|
|
RUN bash /tmp/setup-mirror && rm /tmp/setup-mirror
|
2019-01-11 06:22:53 +00:00
|
|
|
|
2019-01-11 06:41:58 +00:00
|
|
|
RUN apt update && apt upgrade -y
|
2019-01-11 06:22:53 +00:00
|
|
|
|
2019-01-11 07:04:02 +00:00
|
|
|
# deliberate decision to use distro docker and not latest
|
|
|
|
|
2019-01-11 06:41:58 +00:00
|
|
|
RUN apt install -y \
|
2019-01-11 07:04:02 +00:00
|
|
|
apt-file \
|
|
|
|
bash-completion \
|
2019-01-11 06:41:58 +00:00
|
|
|
build-essential \
|
2019-01-11 07:04:02 +00:00
|
|
|
byobu \
|
|
|
|
command-not-found \
|
|
|
|
docker.io \
|
|
|
|
git \
|
|
|
|
golang-go \
|
|
|
|
ntp \
|
|
|
|
ntpdate \
|
|
|
|
openssh-server \
|
|
|
|
python-pip \
|
2019-01-11 06:41:58 +00:00
|
|
|
python3-dev \
|
2019-01-11 07:04:02 +00:00
|
|
|
python3-pip \
|
|
|
|
ruby \
|
|
|
|
software-properties-common \
|
|
|
|
vim
|
|
|
|
|
|
|
|
RUN apt-file update
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt install -y powerline
|
|
|
|
RUN apt install -y htop
|
|
|
|
RUN apt install -y cryptsetup-bin
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
##### python3 stuff
|
|
|
|
########################################################
|
|
|
|
RUN pip3 install awscli
|
|
|
|
RUN pip3 install httpie
|
|
|
|
RUN pip3 install pipenv
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
##### nvm
|
|
|
|
########################################################
|
|
|
|
RUN git clone https://github.com/creationix/nvm.git /usr/local/nvm
|
|
|
|
ADD ./nvmsetup.sh /etc/profile.d/nvmsetup.sh
|