Skip to content

Commit

Permalink
feat: Python 3.12 (#505)
Browse files Browse the repository at this point in the history
* chore: bump the baseimages group with 2 updates

Bumps the baseimages group with 2 updates: [radiorabe/s2i-python](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal) and [radiorabe/python-minimal](https://github.com/radiorabe/container-image-python-minimal).


Updates `radiorabe/s2i-python` from 2.2.6 to 3.0.0
- [Release notes](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal/releases)
- [Commits](radiorabe/container-image-rabe-s2i-python-minimal@v2.2.6...v3.0.0)

Updates `radiorabe/python-minimal` from 2.2.3 to 3.0.0
- [Release notes](https://github.com/radiorabe/container-image-python-minimal/releases)
- [Commits](radiorabe/container-image-python-minimal@v2.2.3...v3.0.0)

---
updated-dependencies:
- dependency-name: radiorabe/s2i-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: baseimages
- dependency-name: radiorabe/python-minimal
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: baseimages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update Dockerfile

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas <[email protected]>
  • Loading branch information
dependabot[bot] and hairmare authored Oct 20, 2024
1 parent 9d079cc commit bec5adc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build
FROM ghcr.io/radiorabe/s2i-python:3.0.0 AS build

COPY --chown=1001:0 ./ /opt/app-root/src/

Expand All @@ -8,16 +8,16 @@ RUN npm install \
RUN python -mbuild


FROM ghcr.io/radiorabe/python-minimal:2.2.3 AS app
FROM ghcr.io/radiorabe/python-minimal:3.0.0 AS app

COPY --from=build /opt/app-root/src/dist/*.whl /tmp/dist/

RUN microdnf install -y \
python3.11-pip \
python3.12-pip \
&& python -mpip --no-cache-dir install /tmp/dist/*.whl \
&& microdnf remove -y \
python3.11-pip \
python3.11-setuptools \
python3.12-pip \
python3.12-setuptools \
&& microdnf clean all \
&& rm -rf /tmp/dist/

Expand Down

0 comments on commit bec5adc

Please sign in to comment.