-
Notifications
You must be signed in to change notification settings - Fork 0
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
Security and maintainability fixes #269
Conversation
Use Alpine 3.19 for fixtures container: this contains the libexpat patch and others. Move the properties file to the name used for cloud analysis (I'd previously used the one for CI analysis). Some minor maintainability fixes that were easy to fix. #patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixtures/Dockerfile
Outdated
@@ -6,14 +6,12 @@ COPY fixtures/package.json package.json | |||
COPY fixtures/package-lock.json package-lock.json | |||
RUN npm ci --ignore-scripts | |||
|
|||
FROM python:3-alpine3.17 | |||
FROM python:3-alpine3.19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want a specific python version here to avoid unexpected upgrades and breakage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, fair, I've pinned to 3.13
#patch
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Purpose
Fix a few issues highlighted by Trivy and SonarCloud
#patch
Approach
Use Alpine 3.19 for fixtures container: this contains the libexpat patch and others.
Move the properties file to the name used for cloud analysis (I'd previously used the one for CI analysis).
Some minor maintainability fixes that were easy to fix.
Learning
The various ways you can configure SonarCloud caused me some confusion, but it seems we want
.sonarcloud.properties
as our configuration file name for it to be picked up properly.