mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 00:54:43 +08:00
20 lines
384 B
Plaintext
20 lines
384 B
Plaintext
FROM ubuntu:22.04
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG mscpdir="/mscp"
|
|
|
|
COPY . ${mscpdir}
|
|
|
|
RUN set -ex && apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates
|
|
|
|
RUN ${mscpdir}/install-build-deps.sh
|
|
|
|
RUN cd ${mscpdir} \
|
|
&& rm -rf build
|
|
|
|
RUN cd ${mscpdir} \
|
|
&& cmake -B build -DBUILD_PKG=1 \
|
|
&& cd ${mscpdir}/build \
|
|
&& cpack -G DEB CPackConfig.cmake
|