Browse Source

add my test docker images

master
Markus Bergholz 4 years ago
parent
commit
885ac3c496
3 changed files with 32 additions and 0 deletions
  1. +1
    -0
      docker/alpine_dev/.bashrc
  2. +16
    -0
      docker/alpine_dev/Dockerfile
  3. +15
    -0
      docker/legacy_firefox/Dockerfile

+ 1
- 0
docker/alpine_dev/.bashrc View File

@ -0,0 +1 @@
alias installnvm='wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash'

+ 16
- 0
docker/alpine_dev/Dockerfile View File

@ -0,0 +1,16 @@
# docker build -t alpine_dev .
# docker run -it alpine_dev bash
# docker run -it -v ~/git/:/home/markus/git/ -p 8080:8080 alpine_dev bash
FROM alpine:latest
MAINTAINER Markus Bergholz <markuman@gmail.com>
RUN apk update
RUN apk add bash git screen htop ncdu wget nano nodejs bash-completion
RUN rm -rf /var/cache/apk/*
# alpine-sdk
RUN adduser -h /home/markus -s /bin/bash -G users -u 1000 -S -D markus
USER markus
WORKDIR /home/markus
COPY .bashrc /home/markus/
CMD /bin/bash --login

+ 15
- 0
docker/legacy_firefox/Dockerfile View File

@ -0,0 +1,15 @@
# docker build -t legacy_firefox .
# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix legacy_firefox
FROM ubuntu:14.04
RUN apt-get update && \
apt-get install -y firefox && \
apt-get clean
RUN groupadd --gid 1000 user && \
useradd --uid 1000 --gid 1000 --create-home user
USER user
CMD /usr/bin/firefox

Loading…
Cancel
Save