Vishva066 opened a new pull request, #612:
URL: https://github.com/apache/apisix-docker/pull/612
This pull request improves the security and consistency of the Docker images
by updating user and group permissions for the `apisix` directory in both the
`debian` and `debian-dev` Dockerfiles.
The main changes ensure that the container runs as a non-root user and that
directory permissions are set appropriately for group access.
**Dockerfile permission and user management updates:**
* Added commands to change the group ownership of `/usr/local/apisix` to
group ID 0 and set group permissions to match user permissions, improving
compatibility with OpenShift and similar environments (`debian/Dockerfile`,
`debian-dev/Dockerfile`).
[[1]](diffhunk://#diff-b98298742c5536fa90710aea60f865cdf0149b61c06288c4a0219ce4796ec807L56-R58)
[[2]](diffhunk://#diff-b70eb0e8d74ce081444b7b2a89316c356f1aea9396d5e5604a6129d74bccbb7eR70-R77)
* In `debian-dev/Dockerfile`, explicitly added creation of the `apisix`
system group and user, set ownership and permissions for `/usr/local/apisix`,
and switched to running the container as the `apisix` user.
This PR closes #611
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]