-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
19 lines (14 loc) · 848 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu
ENV QUASSEL_VER 0.12.4
MAINTAINER Omega <omegai(-AT-)nimas.li>
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
wget bzip2 build-essential cmake clang qt4-dev-tools libqt4-sql-psql libqtgui4\
&& cd /opt && wget http://quassel-irc.org/pub/quassel-$QUASSEL_VER.tar.bz2 \
&& tar xvf quassel-$QUASSEL_VER.tar.bz2 \
&& cd /opt/quassel-$QUASSEL_VER && mkdir build && cd build && cmake -DWANT_CORE=ON -DWANT_MONO=OFF -DWANT_QTCLIENT=OFF ..\
&& make && make install \
&& rm -rf /opt/quassel-$QUASSEL_VER && rm /opt/quassel-$QUASSEL_VER.tar.bz2 && mkdir -p /var/lib/quassel/ \
&& apt-get purge wget bzip2 build-essential cmake clang qt4-dev-tools -y && apt-get autoremove -y
ENTRYPOINT ["quasselcore", "--configdir=/var/lib/quassel/"]
VOLUME ["/var/lib/quassel/"]
EXPOSE 4242