diff options
| author | Ryo Nakamura <upa@haeena.net> | 2024-02-04 17:22:31 +0900 |
|---|---|---|
| committer | Ryo Nakamura <upa@haeena.net> | 2024-02-04 17:22:31 +0900 |
| commit | ec663cc966f65c75b3a7fe463043dd3685686e65 (patch) | |
| tree | 5405072d24a4d80445e30ea407a1fd13535422b6 /docker/ubuntu-22.04.Dockerfile | |
| parent | d57ed4149d0e3bbcc09793bc00c6bd34fd2ca1fb (diff) | |
bump up container image versions and drop using CPack
We have already provided DEB packages in launchpad PPA and RPM packages
in COPR. Thus, we need no more deb/rpm packages in Github releases. The
single binary build of mscp is an execptio.
Updated container image versions:
- almalinux 8.8 -> 9.3
- rocky 8.8 -> 8.9, and 9.3 is added
- alpine 3.17 -> 3.19
Diffstat (limited to 'docker/ubuntu-22.04.Dockerfile')
| -rw-r--r-- | docker/ubuntu-22.04.Dockerfile | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/docker/ubuntu-22.04.Dockerfile b/docker/ubuntu-22.04.Dockerfile deleted file mode 100644 index 377cfff..0000000 --- a/docker/ubuntu-22.04.Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM ubuntu:22.04 - -ARG DEBIAN_FRONTEND=noninteractive -RUN set -ex && apt-get update && apt-get install -y --no-install-recommends \ - ca-certificates - -# install pytest, and sshd for test -RUN apt-get install -y --no-install-recommends \ - python3 python3-pip python3-dev openssh-server - -RUN python3 -m pip install pytest - - -# preparation for sshd -RUN mkdir /var/run/sshd \ - && ssh-keygen -f /root/.ssh/id_rsa -N "" \ - && mv /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys - -ARG mscpdir="/mscp" - -COPY . ${mscpdir} - -# install build dependency -RUN ${mscpdir}/scripts/install-build-deps.sh - - -# build -RUN cd ${mscpdir} \ - && rm -rf build \ - && cmake -B build \ - && cd ${mscpdir}/build \ - && make \ - && cpack -G DEB CPackConfig.cmake \ - && dpkg -i *.deb - |
