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

[BUG] Update docker base images | alpine/mariadb images are eol/very old #35

Open
fleischsalatinspace opened this issue Jan 6, 2022 · 3 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file help wanted Extra attention is needed

Comments

@fleischsalatinspace
Copy link
Collaborator

The used alpine base image is end of life, so Trivy scans fail.

2022-01-06T04:29:47.307Z	WARN	This OS version is no longer supported by the distribution: alpine 3.8.2
2022-01-06T04:29:47.307Z	WARN	The vulnerability detection may be insufficient because security updates are not provided

Began working on this in fleischsalatinspace#9

@fleischsalatinspace fleischsalatinspace added bug Something isn't working dependencies Pull requests that update a dependency file help wanted Extra attention is needed improvement labels Jan 6, 2022
@fleischsalatinspace fleischsalatinspace changed the title [IMPROVEMENT] Update docker base image to supported OS | docker alpine base image is end of life [IMPROVEMENT] Update docker base image | alpine base image is end of life Jan 6, 2022
@fleischsalatinspace
Copy link
Collaborator Author

Used mariadb image is 2 years old https://github.com/bianjp/docker-mariadb-alpine . https://hub.docker.com/r/bianjp/mariadb-alpine. We should switch to official mariadb image

@fleischsalatinspace
Copy link
Collaborator Author

Used mariadb image is 2 years old https://github.com/bianjp/docker-mariadb-alpine . https://hub.docker.com/r/bianjp/mariadb-alpine. We should switch to official mariadb image

#27 (comment)

@fleischsalatinspace fleischsalatinspace changed the title [IMPROVEMENT] Update docker base image | alpine base image is end of life [BUG] Update docker base images | alpine/mariadb images are eol/very old Jan 14, 2022
@samoneilll
Copy link
Contributor

samoneilll commented May 17, 2022

@fleischsalatinspace I tried updating to the official mariadb:latest today and ran into a few problems:

  1. Maria was unable to load the db from the volume due to some combatability issues between versions. We could try to solve this, but it seems like dumping and restoring the db would be safer
  2. The official image based on ubunut:focal does not have zip installed, so our normal setup process of unzipping the sql dump with exec won't work without first installing zip somehow.

Otherwise, it seems to be working just fine, php mysql adapter has no problems using latest official image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants