latest
This commit is contained in:
42
Dockerfile
42
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user