Image kong/kong-gateway:3.5.0.3-amazonlinux-2023 does not allow write permissions for kong user
- Dominant language
- Shell
- Stars
- 1.5k
- Forks
- 849
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using a Dockerfile with the `kong/kong-gateway:3.5.0.3-amazonlinux-2023` and my plugins fail to start because **apparently** the `kong` user does not have written permissions to `/usr/local/kong`.
This problem does not occur using the image `kong/kong-gateway:3.2.1.0-amazonlinux-2022` and `kong:3.5-ubuntu` for example.
The permissions of the folder are:

I'm seeking for advice on where to look to investigate this issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Dockerfile used to build the image and compare the permissions and user setup against kong/kong-gateway:3.2.1.0-amazonlinux-2022 and kong:3.5-ubuntu. Reproduce plugin startup with 3.5.0.3-amazonlinux-2023 and verify that the kong user can write to /usr/local/kong.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100