diff --git a/Dockerfile b/Dockerfile index 37a3d9a..91413bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,8 @@ FROM opensuse/tumbleweed:latest +RUN set -euo pipefail; zypper -n in --no-recommends python310-devel python310 python310-pip curl findutils gawk git-core procps util-linux python310-wheel python310-pipx; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} + # Define labels according to https://en.opensuse.org/Building_derived_containers # labelprefix=org.opensuse.bci.python LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" @@ -38,8 +40,6 @@ LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI" LABEL org.opensuse.release-stage="released" # endlabelprefix LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/python-3.10-image/README.md" - -RUN set -euo pipefail; zypper -n in --no-recommends python310-devel python310 python310-pip curl findutils gawk git-core procps util-linux python310-wheel python310-pipx; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} ENV PYTHON_VERSION="%%py310_ver%%" ENV PATH="$PATH:/root/.local/bin" ENV PIP_VERSION="%%pip_ver%%" diff --git a/python-3.10-image.changes b/python-3.10-image.changes index 8a9e5f0..ab7469c 100644 --- a/python-3.10-image.changes +++ b/python-3.10-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 12:30:32 UTC 2024 - Dirk Mueller + +- install packages first + ------------------------------------------------------------------- Thu Aug 8 19:28:10 UTC 2024 - Dirk Mueller