Skip to content

Commit

Permalink
add irssi w notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jun 9, 2015
1 parent 56739cc commit c2adfae
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions irssi/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
FROM debian:jessie

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
libdatetime-perl \
libglib2.0-0 \
libnotify4 \
libnotify-bin \
libwww-perl \
perl \
wget \
&& rm -rf /var/lib/apt/lists/*

ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& mkdir -p $HOME/.irssi \
&& chown -R user:user $HOME

ENV LANG C.UTF-8

# gpg: key DDBEF0E1: public key "The Irssi project <[email protected]>" imported
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7EE65E3082A5FB06AC7C368D00CCB587DDBEF0E1

ENV IRSSI_VERSION 0.8.17

RUN buildDeps=' \
autoconf \
automake \
bzip2 \
libglib2.0-dev \
libncurses-dev \
libperl-dev \
libssl-dev \
libtool \
lynx \
make \
pkg-config \
' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL "http://www.irssi.org/files/irssi-${IRSSI_VERSION}.tar.bz2" -o /tmp/irssi.tar.bz2 \
&& curl -sSL "http://www.irssi.org/files/irssi-${IRSSI_VERSION}.tar.bz2.sig" -o /tmp/irssi.tar.bz2.sig \
&& gpg --verify /tmp/irssi.tar.bz2.sig \
&& mkdir -p /usr/src/irssi \
&& tar -xjf /tmp/irssi.tar.bz2 -C /usr/src/irssi --strip-components 1 \
&& rm /tmp/irssi.tar.bz2* \
&& cd /usr/src/irssi \
&& ./configure \
--enable-true-color \
--with-bot \
--with-proxy \
--with-socks \
&& make \
&& make install \
&& rm -rf /usr/src/irssi \
&& apt-get purge -y --auto-remove $buildDeps

WORKDIR $HOME
VOLUME $HOME/.irssi

USER user
CMD ["irssi"]

0 comments on commit c2adfae

Please sign in to comment.