summaryrefslogtreecommitdiff
path: root/docker/centos-8.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/centos-8.Dockerfile')
-rw-r--r--docker/centos-8.Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/centos-8.Dockerfile b/docker/centos-8.Dockerfile
index d9a4f20..3059715 100644
--- a/docker/centos-8.Dockerfile
+++ b/docker/centos-8.Dockerfile
@@ -11,7 +11,7 @@ RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|
# install pytest, sshd for test, and rpm-build
RUN set -ex && yum -y update && yum -y install \
- python3 python3-pip openssh openssh-server openssh-clients rpm-build
+ python3 python3-pip python3-devel openssh openssh-server openssh-clients rpm-build
RUN python3 -m pip install pytest
@@ -34,3 +34,6 @@ RUN cd ${mscpdir} \
&& cpack -G RPM CPackConfig.cmake \
&& rpm -iv *.rpm
+# install mscp python module
+RUN cd ${mscpdir} \
+ && python3 setup.py install --user