Add base irssi image, use it

This commit is contained in:
Christine Dodrill 2015-03-13 01:44:38 -07:00
parent 326ad6dce9
commit 950a213f55
2 changed files with 17 additions and 12 deletions

16
net/irssi/base/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM ubuntu:trusty
RUN apt-get update && apt-get install irssi git-core -y
# create smurf user
RUN addgroup user && adduser --ingroup user --disabled-password user
ENV HOME /home/user
ENV LC_CTYPE en_US.UTF-8
# I use tmux in 256 color mode. Too bad if you don't.
ENV TERM screen-256color
USER user
CMD irssi

View File

@ -1,14 +1,5 @@
FROM ubuntu:trusty
FROM xena/irssi
RUN apt-get update && apt-get install irssi git-core -y
# create smurf user
RUN addgroup user && adduser --ingroup user --disabled-password user
ENV HOME /home/user
ENV LC_CTYPE en_US.UTF-8
USER user
RUN git clone https://github.com/ronilaukkarinen/weed ~/.irssi
# Prune
@ -17,5 +8,3 @@ RUN cd ~/.irssi/scripts &&\
RUN cd ~/.irssi && mkdir autorun && mv scripts/*.pl autorun &&\
mv autorun scripts
CMD irssi