mirror of
https://github.com/upa/mscp.git
synced 2026-05-13 13:57:30 +08:00
add docker files
This commit is contained in:
13
docker/Dockerfile-ubuntu-20.04
Normal file
13
docker/Dockerfile-ubuntu-20.04
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user