Skip to content

refactor: use wolfi docker image - #97

Open
vincentsarago wants to merge 1 commit into
mainfrom
refactor/docker-image-with-wolfi
Open

refactor: use wolfi docker image#97
vincentsarago wants to merge 1 commit into
mainfrom
refactor/docker-image-with-wolfi

Conversation

@vincentsarago

Copy link
Copy Markdown
Member

Comment thread Dockerfile
WORKDIR /tmp

USER user
USER nonroot

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@lhoupert I see you didn't use nonroot user in titiler-eopf repo

@lhoupert lhoupert Aug 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

true I should do the same as you here! The titiler-eopf was using root so I didnt change that ...

@lhoupert lhoupert Aug 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Update: I tested USER nonroot on titiler-eopf and it works fine

@lhoupert lhoupert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I tested and it build and run fine.

Only thing missing IMO is a ci job that test the image can build on a non main branch (maybe by adding a build-only job on pull_request ?)

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