diff options
| author | Ryo Nakamura <upa@haeena.net> | 2023-03-12 20:37:57 +0900 |
|---|---|---|
| committer | Ryo Nakamura <upa@haeena.net> | 2023-03-12 20:37:57 +0900 |
| commit | e2da5811ce2c9006ecb4319d8b1c40128ac2ff67 (patch) | |
| tree | 537e53bd38af01766c250bfdb0c48bd0dd722d29 /docker/centos-8.Dockerfile | |
| parent | 597a7a8cbae48a4f1026d6970e78b43b157bc70b (diff) | |
test: add test_python.py for testing python-mscp
Dockerfiles also adapt themselvs for testing python-mscp bindings.
Diffstat (limited to 'docker/centos-8.Dockerfile')
| -rw-r--r-- | docker/centos-8.Dockerfile | 5 |
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 |
