This commit is contained in:
2019-01-11 08:17:24 +00:00
parent a420944d6a
commit 5c893f84a6
2 changed files with 34 additions and 20 deletions

View File

@@ -1,8 +1,15 @@
FROM ubuntu:18.04
# v0.11 -> ubuntu 18.04 bionic
FROM phusion/baseimage:0.11
ARG AUTHORIZED_KEYS_URL=https://sneak.cloud/authorized/keys
ADD ./01ubuntu.sh /tmp/01ubuntu.sh
RUN bash /tmp/01ubuntu.sh && rm /tmp/01ubuntu.sh
RUN useradd -m user
ADD $AUTHORIZED_KEYS_URL /root/.ssh/authorized_keys
ADD $AUTHORIZED_KEYS_URL /home/user/.ssh/authorized_keys
########################################################
##### python3 stuff
########################################################
@@ -11,36 +18,30 @@ RUN pip3 install awscli
RUN pip3 install httpie
RUN pip3 install pipenv
RUN pip3 install powerline-shell
RUN pip3 install virtualenv
########################################################
##### ruby
########################################################
RUN gem install bundler
########################################################
##### atom editor
########################################################
ADD https://atom.io/download/deb /tmp/atom.deb
RUN dpkg -i /tmp/atom.deb && rm /tmp/atom.deb
########################################################
##### nvm
########################################################
RUN git clone https://github.com/creationix/nvm.git /usr/local/nvm
ADD ./nvmsetup.sh /etc/profile.d/nvmsetup.sh
RUN \
source /etc/profile.d/nvmsetup.sh && \
RUN \ bash -c 'source /etc/profile.d/nvmsetup.sh && \
nvm install --lts && \
nvm use default
########################################################
##### ruby
########################################################
RUN gem install bundler
RUN gem install rake
########################################################
##### atom
########################################################
ADD https://atom.io/download/deb /tmp/atom.deb
RUN dpkg -i /tmp/atom.deb
nvm use default'
########################################################
##### javascript, my favorite
########################################################
# FIXME(sneak)
# yarn babel create-react-app jetpack prettier
# yes i know yarn says not to install it this way
RUN \
source /etc/profile.d/nvmsetup.sh && \
@@ -50,3 +51,4 @@ RUN \
RUN yarn global add prettier
RUN yarn global add create-react-app
RUN yarn global add jetpack