Skip to content
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

Port domain service - take 1 #1

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Port domain service - take 1 #1

wants to merge 7 commits into from

Conversation

evt
Copy link
Owner

@evt evt commented Aug 6, 2023

No description provided.

@evt evt self-assigned this Aug 6, 2023
Copy link

@inneroot inneroot left a comment

Choose a reason for hiding this comment

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

Hello. Can you please share why we don't use docker image with just built app by using FROM scratch ? Why we need updated alpine inside the docker image?

@evt
Copy link
Owner Author

evt commented Aug 19, 2023

Hello. Can you please share why we don't use docker image with just built app by using FROM scratch ? Why we need updated alpine inside the docker image?

Hey, well, you'd probably need to be able to run some useful commands inside it still when debugging smthing + package manager to install more if something missing. Alpine is not that larger and includes all this stuff ;)

@kershov
Copy link

kershov commented Aug 23, 2023

Hey, well, you'd probably need to be able to run some useful commands inside it still when debugging smthing + package manager to install more if something missing. Alpine is not that larger and includes all this stuff ;)

But scratch is still smaller and safer than alpine and has nothing inside but only one file compiled. I think that having nothing but your app inside an image is much safer (for prod env of course) than having the hole alpine os with all the stuff :)

PS Found your channel @yt & subscribed. Very useful videos! Thanks!

@evt
Copy link
Owner Author

evt commented Aug 23, 2023

Hey, well, you'd probably need to be able to run some useful commands inside it still when debugging smthing + package manager to install more if something missing. Alpine is not that larger and includes all this stuff ;)

But scratch is still smaller and safer than alpine and has nothing inside but only one file compiled. I think that having nothing but your app inside an image is much safer (for prod env of course) than having the hole alpine os with all the stuff :)

PS Found your channel @yt & subscribed. Very useful videos! Thanks!

Everyone is free to choose their own approach :) Thank you.

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.

3 participants