Skip to content

Use least privilege file permissions in CLI Dockerfile#792

Open
archy-rock3t-cloud wants to merge 1 commit intocontrolplaneio-fluxcd:mainfrom
sophotechlabs:fix/cli-dockerfile-permissions
Open

Use least privilege file permissions in CLI Dockerfile#792
archy-rock3t-cloud wants to merge 1 commit intocontrolplaneio-fluxcd:mainfrom
sophotechlabs:fix/cli-dockerfile-permissions

Conversation

@archy-rock3t-cloud
Copy link
Copy Markdown
Contributor

Change chmod=777 to chmod=755 for copied binaries since they only need read and execute permissions.

Signed-off-by: Artem Muterko <artem@sopho.tech>
@stefanprodan
Copy link
Copy Markdown
Member

Did you test the image locally, are the binaries running Ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants