Islandora-Devops / isle-buildkit

Provides a number of Docker images which can be used to build an Islandora site. See also https://github.com/Islandora-Devops/isle-dc
https://www.islandora.ca/
MIT License
13 stars 23 forks source link

Update starter site & matomo extra tools & fix permission Bugs #350

Closed nigelgbanks closed 1 month ago

nigelgbanks commented 1 month ago

A number of permission issues have gone unnoticed, I became aware of them when I did a fresh build without cache on a newly installed computer.

When building Docker images, Docker copies files/folders with the same permissions as they have on the host machine. Git does not track the permissions of files except for the executable bit on files. So depending on who builds the images files/folders can get different permissions.

This changes it such that the Makefile will ensure the appropriate permissions are set when building.

This is required as we run services as different users other than root in the container. Those users must be able to access and execute certain files.

nigelgbanks commented 1 month ago

@aOelschlager thanks! That should be enough testing 😄