Files
mscp/docker/Dockerfile-ubuntu-22.04
2022-10-30 23:37:10 +09:00

14 lines
383 B
Plaintext

FROM ubuntu:22.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