mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
add irssi w notifications
Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
parent
736e308ed7
commit
bb4248d603
64
irssi/Dockerfile
Normal file
64
irssi/Dockerfile
Normal file
|
@ -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 <staff@irssi.org>" 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"]
|
Loading…
Reference in New Issue
Block a user