Skip to content

Conversation

@Vishva066
Copy link
Contributor

This pull request makes a minor change to the Docker build process to improve file permissions for the /usr/local/apisix directory. This helps ensure that the directory is accessible to users in group 0, which can be important for running containers with non-root users.

  • Dockerfile permissions update:
    • Modified the docker/debian-dev/Dockerfile to recursively change the group ownership of /usr/local/apisix to group 0 and set group permissions to match user permissions.

This PR closes #11714

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Dec 19, 2025
@Vishva066 Vishva066 changed the title 🔒️ | fix (docker): Modify permissions for the docker file to run in Openshift without anyuid fix (docker): Modify permissions for the docker file to run in Openshift without anyuid Dec 19, 2025
@Vishva066 Vishva066 changed the title fix (docker): Modify permissions for the docker file to run in Openshift without anyuid fix(docker): Modify permissions for the docker file to run in Openshift without anyuid Dec 19, 2025
Copy link
Contributor

@Baoyuantop Baoyuantop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is responsible for building the apisix dev image. We also need to update all versions of the image at apache/apisix-docker#612

@Baoyuantop Baoyuantop merged commit c394310 into apache:master Dec 31, 2025
44 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Consider fixing APISIX and APISIX-ingress containers to work without anyuid SCC

4 participants