Browse Source

added some packages and stuff

master
Jeffrey Paul 2 years ago
parent
commit
46bcc0864c
3 changed files with 45 additions and 7 deletions
  1. +38
    -6
      Dockerfile
  2. +5
    -1
      Makefile
  3. +2
    -0
      nvmsetup.sh

+ 38
- 6
Dockerfile View File

@@ -3,15 +3,47 @@ FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive

ADD ./setup-mirror /tmp/setup-mirror
RUN bash /tmp/setup-mirror
RUN bash /tmp/setup-mirror && rm /tmp/setup-mirror

RUN apt update && apt upgrade -y

# deliberate decision to use distro docker and not latest

RUN apt install -y \
vim \
command-not-found \
apt-file \
bash-completion \
build-essential \
python3 \
python3-pip \
byobu \
command-not-found \
docker.io \
git \
golang-go \
ntp \
ntpdate \
openssh-server \
python-pip \
python3-dev \
ruby
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

+ 5
- 1
Makefile View File

@@ -1,12 +1,16 @@
REMOTEHOST := root@las2.bounce
IMAGENAME := sneak/dockerized-workstation

default: remote-build

build:
docker build -t sneak/dockerized-workstation .
docker build -t $(IMAGENAME) .

upload:
rsync -avP --delete ./ $(REMOTEHOST):dockerized-workstation/

remote-build: upload
ssh -t $(REMOTEHOST) "cd dockerized-workstation && make build"

tryout:
ssh -t $(REMOTEHOST) "docker run -ti $(IMAGENAME)"

+ 2
- 0
nvmsetup.sh View File

@@ -0,0 +1,2 @@
export NVM_DIR="/usr/local/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm

Loading…
Cancel
Save