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/ubuntu-22.04.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/ubuntu-22.04.Dockerfile')
| -rw-r--r-- | docker/ubuntu-22.04.Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/ubuntu-22.04.Dockerfile b/docker/ubuntu-22.04.Dockerfile index 26ba009..e2c6f47 100644 --- a/docker/ubuntu-22.04.Dockerfile +++ b/docker/ubuntu-22.04.Dockerfile @@ -10,7 +10,7 @@ RUN set -ex && apt-get update && apt-get install -y --no-install-recommends \ # install pytest, and sshd for test RUN apt-get install -y --no-install-recommends \ - python3 python3-pip openssh-server + python3 python3-pip python3-dev openssh-server RUN python3 -m pip install pytest @@ -33,3 +33,8 @@ RUN cd ${mscpdir} \ && make \ && cpack -G DEB CPackConfig.cmake \ && dpkg -i *.deb + +# install mscp python module +RUN cd ${mscpdir} \ + && python3 setup.py install --user + |
