-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
WIP: use deno to compile to single binary #186
base: main
Are you sure you want to change the base?
Conversation
push(args: string[]): Promise<void>; | ||
} | ||
|
||
export function simpleGit(): SimpleGit { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly untested & we should add tests for it anyway ...
Will this also reduce the image size? Could we even use a scratch image? |
not scratch jet as we need the git binary working but yes that's a way to move towards it :) |
the image size would probably increase by ~50Mb but the image would be silli and dont contain any unessesary build-time deps and other unrelated stuff PS: this here is just a POC if it would work at all |
tldr: if we have a static linked git binary + the deno binary we should be able to use FROM scratch |
|
https://deno.com/blog/v1.46