Skip to content

Commit

Permalink
add irssi-otr
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Aug 25, 2015
1 parent 4c050b6 commit bee79d7
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion irssi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
libdatetime-perl \
libgcrypt20-dev \
libglib2.0-0 \
libnotify4 \
libnotify-bin \
Expand All @@ -23,6 +24,8 @@ ENV LANG C.UTF-8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7EE65E3082A5FB06AC7C368D00CCB587DDBEF0E1

ENV IRSSI_VERSION 0.8.17
ENV LIB_OTR_VERSION 4.1.0
ENV IRSSI_OTR_VERSION 1.0.0

RUN buildDeps=' \
autoconf \
Expand All @@ -49,12 +52,32 @@ RUN buildDeps=' \
&& cd /usr/src/irssi \
&& ./configure \
--enable-true-color \
--prefix="/usr" \
--with-bot \
--with-proxy \
--with-socks \
&& make \
&& make install \
&& rm -rf /usr/src/irssi \
&& curl -sSL "https://otr.cypherpunks.ca/libotr-${LIB_OTR_VERSION}.tar.gz" -o /tmp/libotr.tar.gz \
&& curl -sSL "https://otr.cypherpunks.ca/libotr-${LIB_OTR_VERSION}.tar.gz.asc" -o /tmp/libotr.tar.gz.asc \
&& curl -sSL "https://otr.cypherpunks.ca/gpgkey.asc" | gpg --import \
&& gpg --verify /tmp/libotr.tar.gz.asc \
&& mkdir -p /usr/src/libotr \
&& tar -xzf /tmp/libotr.tar.gz -C /usr/src/libotr --strip-components 1 \
&& rm /tmp/libotr.tar.gz* \
&& cd /usr/src/libotr \
&& ./configure --with-pic --prefix=/usr \
&& make \
&& make install \
&& mkdir -p /usr/src/irssi-otr \
&& curl -sSL "https://github.com/cryptodotis/irssi-otr/archive/v${IRSSI_OTR_VERSION}.tar.gz" | tar -vxz --strip-components 1 -C /usr/src/irssi-otr \
&& cd /usr/src/irssi-otr \
&& ./bootstrap \
&& ./configure --prefix="/usr" \
&& make \
&& make install \
&& rm -rf /usr/src/irssi* \
&& rm -rf /usr/src/libotr* \
&& apt-get purge -y --auto-remove $buildDeps

WORKDIR $HOME
Expand Down

0 comments on commit bee79d7

Please sign in to comment.