Add base irssi image, use it
This commit is contained in:
parent
326ad6dce9
commit
950a213f55
|
@ -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
|
|
@ -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
|
RUN git clone https://github.com/ronilaukkarinen/weed ~/.irssi
|
||||||
|
|
||||||
# Prune
|
# Prune
|
||||||
|
@ -17,5 +8,3 @@ RUN cd ~/.irssi/scripts &&\
|
||||||
|
|
||||||
RUN cd ~/.irssi && mkdir autorun && mv scripts/*.pl autorun &&\
|
RUN cd ~/.irssi && mkdir autorun && mv scripts/*.pl autorun &&\
|
||||||
mv autorun scripts
|
mv autorun scripts
|
||||||
|
|
||||||
CMD irssi
|
|
||||||
|
|
Loading…
Reference in New Issue