Dockerfile format.

This commit is contained in:
Stanislav Nikitin 2019-10-07 13:45:07 +05:00
parent ebd9a17a6b
commit 04edfba127
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE
1 changed files with 11 additions and 11 deletions

View File

@ -10,7 +10,7 @@ ARG CXXFLAGS="\
# install build packages # install build packages
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
boost \ boost \
boost-dev \ boost-dev \
cmake \ cmake \
@ -33,7 +33,7 @@ RUN \
# fetch source # fetch source
RUN \ RUN \
mkdir -p \ mkdir -p \
/tmp/quassel-src && \ /tmp/quassel-src && \
cd /tmp/quassel-src && \ cd /tmp/quassel-src && \
git clone https://github.com/quassel/quassel . git clone https://github.com/quassel/quassel .
@ -43,14 +43,14 @@ RUN \
mkdir /tmp/quassel-src/build && \ mkdir /tmp/quassel-src/build && \
cd /tmp/quassel-src/build && \ cd /tmp/quassel-src/build && \
cmake \ cmake \
-DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_QT5=ON \ -DUSE_QT5=ON \
-DWANT_CORE=ON \ -DWANT_CORE=ON \
-DWANT_MONO=OFF \ -DWANT_MONO=OFF \
-DWANT_QTCLIENT=OFF \ -DWANT_QTCLIENT=OFF \
-DWITH_KDE=OFF \ -DWITH_KDE=OFF \
/tmp/quassel-src && \ /tmp/quassel-src && \
make -j4 && \ make -j4 && \
make DESTDIR=/build/quassel install && \ make DESTDIR=/build/quassel install && \
paxmark -m /build/quassel/usr/bin/quasselcore paxmark -m /build/quassel/usr/bin/quasselcore
@ -62,7 +62,7 @@ ENV HOME /config
# install runtime packages # install runtime packages
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
icu-libs \ icu-libs \
openssl \ openssl \
qt5-qtbase \ qt5-qtbase \