Skip to content

Upgrade from Alpine 3.14 to 3.19 #4993

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

Merged
merged 5 commits into from
Jun 26, 2025
Merged

Upgrade from Alpine 3.14 to 3.19 #4993

merged 5 commits into from
Jun 26, 2025

Conversation

dhaley
Copy link
Collaborator

@dhaley dhaley commented May 29, 2025

This change addresses a critical vulnerability flagged by AWS Inspector:

IN-DISCONTINUED-001 – ALPINE_LINUX_3_14

The base image was previously using Alpine Linux 3.14, which reached end of support in November 2022. Amazon Inspector now considers this OS discontinued and no longer actively supported or maintained. Findings related to this are informational only, and upgrading is required to restore full Inspector coverage and ongoing security patching.

What's this PR do?

  1. This PR updates the base image from Alpine 3.14 to Alpine 3.19 in both Dockerfile and Dockerfile.ecs.
    Alpine 3.19 is the lowest currently supported version, providing security updates with minimal risk to system compatibility.

  2. Switches python management from alpine to pyenv

  3. upgrade drf-yasg to fix this issue - Remove usage of pkg_resources axnsan12/drf-yasg#928

  4. fix UserWarning: Supervisord

How should this be manually tested?

Build both Dockerfile and Dockerfile.ecs, then verify that SeedWeb application functionality is operational.

Basic functionality validation should include:

Confirming successful container build.

Launching the application locally or in ECS.

Validating web service endpoints and key app workflows.

Ensuring no regressions in authentication, database connectivity, or frontend rendering.

@dhaley dhaley added the Maintenance Tag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label. label May 29, 2025
@dhaley dhaley requested a review from kflemin May 29, 2025 17:57
@dhaley dhaley marked this pull request as draft May 29, 2025 17:58
@dhaley dhaley force-pushed the alpine3.18 branch 2 times, most recently from c988333 to eac3ca1 Compare May 29, 2025 22:20
@dhaley dhaley changed the title upgrade from Alpine 3.14 to 3.18 upgrade from Alpine 3.14 to 3.19 May 29, 2025
@dhaley dhaley marked this pull request as ready for review May 29, 2025 22:37
@dhaley dhaley force-pushed the alpine3.18 branch 2 times, most recently from a336483 to 0f32787 Compare May 30, 2025 22:17
@dhaley dhaley marked this pull request as draft May 30, 2025 22:50
@dhaley dhaley force-pushed the alpine3.18 branch 3 times, most recently from e7cb479 to 5cbe0a4 Compare June 5, 2025 21:59
@dhaley dhaley marked this pull request as ready for review June 5, 2025 22:37
@kflemin kflemin requested a review from axelstudios June 12, 2025 22:49
@axelstudios axelstudios changed the title upgrade from Alpine 3.14 to 3.19 Upgrade from Alpine 3.14 to 3.19 Jun 13, 2025
@@ -16,6 +16,9 @@
"engines": {
"node": ">=20"
},
"dependencies": {
"sass": "1.79.4"
Copy link
Member

Choose a reason for hiding this comment

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

sass is needed in production for the manage.py compress call

@axelstudios axelstudios merged commit 8fc38a8 into develop Jun 26, 2025
10 checks passed
@axelstudios axelstudios deleted the alpine3.18 branch June 26, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Tag as maintenance if the issue relates to general cleanup, maintenance, etc. Do not delete label.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants