-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
feat: Full revamp of Dockerfile #319
Conversation
Hi, |
any chance to get the script based install into the repo? it is producing a more reliable and smaller image |
Moved to #322
Very good findings. I think they should be added to #318
For me, it is more important to have a complete picture of the installation process in one place than:
Here no something complex to be need have shellcheck:
Not needed:
|
I'm looking at the list of commits which is still receiving new commits and hence the questions: is this PR still WIP or is ready for review? In the former case would you mind converting it into |
it is ready. I just found a bug. |
The difference between #319 and #322 is 26MB or 4,5%. So yes, It's an improvement but things like REPOSITORY TAG IMAGE ID CREATED SIZE
pre-commit-terraform 319 732da69c5fb3 About a minute ago 548MB
pre-commit-terraform refactor_based_on_pr319 223377a61fbf 2 hours ago 574MB |
IMHO having so many multiline shellscript in the dockerfile just makes it harder to see what is happening. It is easy to understand a single well formatted shellscript in itself
Most home clusters are using ARM. also in some clouds the ARM nodes are cheaper. The extra complexity is just one shellscript and two env var.
|
not my repo, so up to you... |
Put an
x
into the box if that apply:Description of your changes
Rewritten and generalized the install steps in Dockerfile.
How has this code been tested
Lots of local Docker build :D