mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 17:24:42 +08:00
14 lines
383 B
Plaintext
14 lines
383 B
Plaintext
FROM ubuntu:20.04
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
ARG workdir="/"
|
|
|
|
RUN set -ex && apt-get update && apt-get install -y --no-install-recommends \
|
|
git cmake build-essential libssh-dev ca-certificates
|
|
|
|
RUN cd ${workdir} \
|
|
&& git clone --depth=1 https://github.com/upa/mscp \
|
|
&& mkdir mscp/build && cd mscp/build \
|
|
&& cmake .. -DBUILD_PKG=1 \
|
|
&& cpack -G DEB CPackConfig.cmake
|