diff --git a/net/irssi/base/Dockerfile b/net/irssi/base/Dockerfile new file mode 100644 index 0000000..37f6ad8 --- /dev/null +++ b/net/irssi/base/Dockerfile @@ -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 diff --git a/net/irssi/weed/Dockerfile b/net/irssi/weed/Dockerfile index 83169b6..4317524 100644 --- a/net/irssi/weed/Dockerfile +++ b/net/irssi/weed/Dockerfile @@ -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