Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump shibboleth-sp-nginx to Debian 12 #181

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Bump shibboleth-sp-nginx to Debian 12 #181

merged 1 commit into from
Nov 5, 2023

Conversation

mureytasroc
Copy link
Contributor

@mureytasroc mureytasroc commented Nov 5, 2023

Root problem: the platform backend Docker image is failing to build. Pipenv is failing to lock with a bunch of messages about Requires-Python >=3.8 we THINK due to python 3.7 no longer being supported (support ended on June 27, 2023). So we want to bump platform backend to python 3.11.
To do this, we want to bump the Debian version of the shibboleth-sp-nginx Docker image to Debian 12 (bookworm) which comes with 3.11 so that in the platform backend image (which extends shibboleth-sp-nginx) we can easily install python3.11-dev without needing to build python from scratch (which takes ages) or backport. Debian buster only comes with 3.7 so you can't simply install python3.8-dev or higher (e.g. python3.11-dev)

@@ -1,17 +1,15 @@
# Build stage
FROM debian:buster-slim AS build

ENV NGINX_VERSION=1.18.0-2~buster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait just curious why do we no longer need this lol

Copy link
Contributor Author

@mureytasroc mureytasroc Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly bc I don't know what the most recent version of nginx in that repository is and don't see why we need to pin to a specific Nginx version if the docker image is basically never rebuilt anyway. Seems like it will just make it harder to update in the future.

Maybe there's some reason why it's important to pin the version of nginx like that?

@joyliu-q joyliu-q merged commit 139915b into master Nov 5, 2023
4 checks passed
@joyliu-q joyliu-q deleted the bump-debian branch November 5, 2023 16:17
joyliu-q added a commit that referenced this pull request Nov 5, 2023
joyliu-q added a commit that referenced this pull request Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants