Dockerfile format.
This commit is contained in:
parent
ebd9a17a6b
commit
04edfba127
22
Dockerfile
22
Dockerfile
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user