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

Use Alpine-PHP Image to Reduce Security Issues #937

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

LaurinStreng
Copy link

@LaurinStreng LaurinStreng commented Jul 4, 2024

Change the Base Image of the Service to alpine because Debian, is using unnecessary features.

This has the effect:

Container Security Scan (trivy):

  • Old Base Image: Total: 1992 (UNKNOWN: 20, LOW: 634, MEDIUM: 1142, HIGH: 190, CRITICAL: 6)
  • New Base Image: Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)

Size:

  • Old Image: 1.11GB
  • New Image: 324MB

Fixes #925

@LaurinStreng LaurinStreng changed the title Update_Dockerfile_to_use_alpine_php_image Use Alpine-PHP Image to Reduce Security Issues Jul 4, 2024
@LaurinStreng LaurinStreng marked this pull request as draft July 4, 2024 13:41
@LaurinStreng LaurinStreng marked this pull request as ready for review July 9, 2024 07:15
@LaurinStreng
Copy link
Author

Test with a Ldaps connection and the password change site.
Passwords can be changed, Site is working.

@LaurinStreng
Copy link
Author

The only thing that is different in our "user" config. The Location from /etc/ldap/ldap.conf has changed to /etc/openldap/ldap.conf Also, the newer ca-cert module don't accept wildcard certs by Default, so we have to add TLS_REQCERT allow in our ldap.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multible Findings with Trivy Scanner
1 participant