fix CMakeLists.txt

* install mscp from package at docker build phase.
* add docker-*-all custom targets.
This commit is contained in:
Ryo Nakamura
2022-11-20 00:37:01 +09:00
parent 04b7ec3e4b
commit 8395c05d67
6 changed files with 22 additions and 39 deletions

View File

@@ -31,5 +31,6 @@ RUN cd ${mscpdir} \
&& cmake -B build \
&& cd ${mscpdir}/build \
&& make \
&& cpack -G RPM CPackConfig.cmake
&& cpack -G RPM CPackConfig.cmake \
&& rpm -iv *.rpm

View File

@@ -26,5 +26,6 @@ RUN cd ${mscpdir} \
&& cmake -B build \
&& cd ${mscpdir}/build \
&& make \
&& cpack -G RPM CPackConfig.cmake
&& cpack -G RPM CPackConfig.cmake \
&& rpm -iv *.rpm

View File

@@ -31,4 +31,5 @@ RUN cd ${mscpdir} \
&& cmake -B build \
&& cd ${mscpdir}/build \
&& make \
&& cpack -G DEB CPackConfig.cmake
&& cpack -G DEB CPackConfig.cmake \
&& dpkg -i *.deb

View File

@@ -31,4 +31,5 @@ RUN cd ${mscpdir} \
&& cmake -B build \
&& cd ${mscpdir}/build \
&& make \
&& cpack -G DEB CPackConfig.cmake
&& cpack -G DEB CPackConfig.cmake \
&& dpkg -i *.deb