latest
This commit is contained in:
parent
a420944d6a
commit
5c893f84a6
12
01ubuntu.sh
12
01ubuntu.sh
|
@ -27,9 +27,13 @@ PKGS="
|
||||||
gconf-service
|
gconf-service
|
||||||
gconf2
|
gconf2
|
||||||
git
|
git
|
||||||
|
gnupg-agent
|
||||||
|
gnupg2
|
||||||
golang-go
|
golang-go
|
||||||
gvfs-bin
|
gvfs-bin
|
||||||
|
haveged
|
||||||
htop
|
htop
|
||||||
|
jq
|
||||||
libasound2
|
libasound2
|
||||||
libcurl4
|
libcurl4
|
||||||
libgtk-3-0
|
libgtk-3-0
|
||||||
|
@ -40,15 +44,23 @@ PKGS="
|
||||||
libxss1
|
libxss1
|
||||||
libxtst6
|
libxtst6
|
||||||
lsof
|
lsof
|
||||||
|
mosh
|
||||||
|
nmap
|
||||||
ntp
|
ntp
|
||||||
ntpdate
|
ntpdate
|
||||||
|
opensc
|
||||||
openssh-server
|
openssh-server
|
||||||
pbzip2
|
pbzip2
|
||||||
|
pcscd
|
||||||
|
pinentry-curses
|
||||||
pv
|
pv
|
||||||
python-pip
|
python-pip
|
||||||
python3-dev
|
python3-dev
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rsync
|
||||||
ruby
|
ruby
|
||||||
|
scdaemon
|
||||||
|
socat
|
||||||
software-properties-common
|
software-properties-common
|
||||||
strace
|
strace
|
||||||
vim
|
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
|
ADD ./01ubuntu.sh /tmp/01ubuntu.sh
|
||||||
RUN bash /tmp/01ubuntu.sh && rm /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
|
##### python3 stuff
|
||||||
########################################################
|
########################################################
|
||||||
|
@ -11,36 +18,30 @@ RUN pip3 install awscli
|
||||||
RUN pip3 install httpie
|
RUN pip3 install httpie
|
||||||
RUN pip3 install pipenv
|
RUN pip3 install pipenv
|
||||||
RUN pip3 install powerline-shell
|
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
|
##### nvm
|
||||||
########################################################
|
########################################################
|
||||||
RUN git clone https://github.com/creationix/nvm.git /usr/local/nvm
|
RUN git clone https://github.com/creationix/nvm.git /usr/local/nvm
|
||||||
ADD ./nvmsetup.sh /etc/profile.d/nvmsetup.sh
|
ADD ./nvmsetup.sh /etc/profile.d/nvmsetup.sh
|
||||||
RUN \
|
RUN \ bash -c 'source /etc/profile.d/nvmsetup.sh && \
|
||||||
source /etc/profile.d/nvmsetup.sh && \
|
|
||||||
nvm install --lts && \
|
nvm install --lts && \
|
||||||
nvm use default
|
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
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
##### javascript, my favorite
|
##### javascript, my favorite
|
||||||
########################################################
|
########################################################
|
||||||
# FIXME(sneak)
|
|
||||||
# yarn babel create-react-app jetpack prettier
|
|
||||||
|
|
||||||
# yes i know yarn says not to install it this way
|
# yes i know yarn says not to install it this way
|
||||||
RUN \
|
RUN \
|
||||||
source /etc/profile.d/nvmsetup.sh && \
|
source /etc/profile.d/nvmsetup.sh && \
|
||||||
|
@ -50,3 +51,4 @@ RUN \
|
||||||
|
|
||||||
RUN yarn global add prettier
|
RUN yarn global add prettier
|
||||||
RUN yarn global add create-react-app
|
RUN yarn global add create-react-app
|
||||||
|
RUN yarn global add jetpack
|
||||||
|
|
Loading…
Reference in New Issue