add docker files

This commit is contained in:
Ryo Nakamura
2022-10-30 23:37:10 +09:00
parent 6f37260411
commit 548565d888
5 changed files with 63 additions and 0 deletions

View 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