Skip to content

Commit

Permalink
fix(deps): bump the baseimages group across 1 directory with 2 update…
Browse files Browse the repository at this point in the history
…s for Python 3.12 (#380)

* chore(deps): bump the baseimages group across 1 directory with 2 updates

Bumps the baseimages group with 2 updates in the / directory: [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.1.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.1.0)

Updates `radiorabe/python-minimal` from 2.2.3 to 3.1.0
- [Release notes](https://github.com/radiorabe/container-image-python-minimal/releases)
- [Commits](radiorabe/container-image-python-minimal@v2.2.3...v3.1.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]>

* chore: Python 3.12 changes

* chore: more 3.12

---------

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 Dec 4, 2024
1 parent c9931e7 commit dbf0418
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
python-poetry:
uses: radiorabe/actions/.github/workflows/[email protected]
with:
version: '3.11'
version: '3.12'
helm-chart:
name: Test Helm Chart
runs-on: ubuntu-latest
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build
FROM ghcr.io/radiorabe/s2i-python:3.1.0 AS build

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

RUN python3.11 -mbuild
RUN python3.12 -mbuild


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

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

RUN microdnf install -y \
python3.11-pip \
&& python3.11 -mpip --no-cache-dir install /tmp/dist/*.whl \
python3.12-pip \
&& python3.12 -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 dbf0418

Please sign in to comment.