Skip to content

feat: scratch docker image #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 25, 2023
Merged

feat: scratch docker image #15

merged 3 commits into from
Feb 25, 2023

Conversation

andrewthetechie
Copy link
Owner

This moves to a scratch based docker image to reduce image size and attack surface further.

The new image uses pyinstaller and staticx to compile the python app to a binary and staticly link it. This binary is copied into a scratch container and set to run as a non root user

This moves to a scratch based docker image to reduce image size and
attack surface further.

The new image uses pyinstaller and staticx to compile the python app to
a binary and staticly link it. This binary is copied into a scratch
container and set to run as a non root user
@andrewthetechie andrewthetechie merged commit 03d1230 into main Feb 25, 2023
@andrewthetechie andrewthetechie deleted the scratch-python branch February 25, 2023 00:20
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.

1 participant