diff --git a/Dockerfile.rockylinux10 b/Dockerfile.rockylinux10 new file mode 100644 index 0000000..0688d58 --- /dev/null +++ b/Dockerfile.rockylinux10 @@ -0,0 +1,23 @@ +FROM dalibo/buildpack:rockylinux10 + +RUN set -ex; \ + yum -q -y install \ + cyrus-sasl-md5 \ + cyrus-sasl-devel \ + gcc \ + openldap-clients \ + openldap-devel \ + python3 \ + ; \ + yum clean all ; \ + : + +ENV PIP_DISABLE_PIP_VERSION_CHECK=1 +ENV PIP_NO_PYTHON_VERSION_WARNING=1 + +RUN set -ex; \ + curl -sSL https://bootstrap.pypa.io/pip/get-pip.py | python3.12 - --ignore-installed ; \ + pip3.12 --version; \ + pip3.12 install flake8 setuptools wheel; \ + rm -rf ~/.cache/; \ + : diff --git a/Makefile b/Makefile index aa9c39e..4080f3e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ default: -alpine rockylinux9 rockylinux8 centos7 centos6 bookworm bullseye bullseye-slim buster stretch: +alpine rockylinux10 rockylinux9 rockylinux8 centos7 centos6 bookworm bullseye bullseye-slim buster stretch: docker build --pull \ --build-arg http_proxy \ --tag dalibo/buildpack-python:$@ \ diff --git a/README.md b/README.md index ad4759d..0aa9b28 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Buildpack image for development for Python PostgreSQL tools : ## Tags +- `rockylinux10` with Python 3.12. - `rockylinux9` with Python 3.9. - `rockylinux8` with Python 3.6. - `centos7` with Python 2.7 and 3.6.