latest
This commit is contained in:
parent
a420944d6a
commit
5c893f84a6
12
01ubuntu.sh
12
01ubuntu.sh
@ -27,9 +27,13 @@ PKGS="
|
||||
gconf-service
|
||||
gconf2
|
||||
git
|
||||
gnupg-agent
|
||||
gnupg2
|
||||
golang-go
|
||||
gvfs-bin
|
||||
haveged
|
||||
htop
|
||||
jq
|
||||
libasound2
|
||||
libcurl4
|
||||
libgtk-3-0
|
||||
@ -40,15 +44,23 @@ PKGS="
|
||||
libxss1
|
||||
libxtst6
|
||||
lsof
|
||||
mosh
|
||||
nmap
|
||||
ntp
|
||||
ntpdate
|
||||
opensc
|
||||
openssh-server
|
||||
pbzip2
|
||||
pcscd
|
||||
pinentry-curses
|
||||
pv
|
||||
python-pip
|
||||
python3-dev
|
||||
python3-pip
|
||||
rsync
|
||||
ruby
|
||||
scdaemon
|
||||
socat
|
||||
software-properties-common
|
||||
strace
|
||||
vim
|
||||
|
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
|
||||
|
Loading…
Reference in New Issue
Block a user