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

Add support to strip (minimize in size) the install dir #143

Open
dkarlovi opened this issue Sep 11, 2019 · 1 comment
Open

Add support to strip (minimize in size) the install dir #143

dkarlovi opened this issue Sep 11, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@dkarlovi
Copy link
Contributor

When pushing into a Docker image, you want the final installed size to be minimal.

We could, for example, add a flag --strip which would, after finishing installation, remove:

  • .git folders
  • test/, tests/ etc
  • doc/

We could even inspect .gitattributes file and remove files suppressed for addition if we're pulling a git repo.

@jakzal
Copy link
Owner

jakzal commented Sep 11, 2019

Nice idea 👍

@jakzal jakzal added the help wanted Extra attention is needed label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants