Kong / Kong/docker-kong

Image kong/kong-gateway:3.5.0.3-amazonlinux-2023 does not allow write permissions for kong user

Open
#696 6 comments 0 reactions 0 assignees View on GitHub
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:
![image](https://github.com/Kong/docker-kong/assets/7799231/e4f2167b-9a3f-4911-9bce-bbbe7ddc2970)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.