14 lines
682 B
Docker
14 lines
682 B
Docker
|
FROM alpine:3.8
|
||
|
|
||
|
RUN apk add --no-cache qt5-qtbase qt5-qtbase-dev qt5-qtbase-postgresql qt5-qtscript qt5-qtscript-dev make g++ cmake ca-certificates openssl git boost-dev zlib-dev zlib && \
|
||
|
git clone https://github.com/quassel/quassel.git /quassel-git && \
|
||
|
mkdir /quassel && \
|
||
|
cd /quassel && \
|
||
|
cmake /quassel-git -DWANT_CORE=ON -DWANT_QTCLIENT=OFF -DWANT_MONO=OFF -DWITH_KDE=OFF -DWITH_OPENSSL=ON -DWITH_DBUS=OFF -DWITH_PHONON=OFF -DWITH_WEBKIT=OFF && \
|
||
|
make && \
|
||
|
mv quasselcore /usr/bin/quasselcore && \
|
||
|
rm -rf /quassel-git && \
|
||
|
apk del qt5-qtbase-dev qt5-qtscript-dev make cmake g++ git boost-dev zlib-dev
|
||
|
|
||
|
ENTRYPOINT quasselcore -c /config -p 4242 --require-ssl
|