You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
The changes on static.sh highlight the nuances of compiling for linux and mac, as well as cross compiling on the latter.
Signed-off-by: Paulo Gomes <[email protected]>
The issues above do not affect libgit2 built with `static.sh` as all its
55
+
> **NOTE:**The issues above do not affect libgit2 built with `static.sh` as all its
54
56
dependencies have been configured to be optimal for its use, as the first supported version of libgit2 is `1.3.0`.
55
57
56
-
---
57
58
58
59
## Usage
59
60
60
-
The [Dockerfile.test](./Dockerfile.test) file provides a working example on how to statically build a golang application that has a dependency to libgit2 and git2go.
61
+
The [Dockerfile.test](./Dockerfile.test) file provides a working example on how to statically build a golang application that has a dependency on libgit2 and git2go.
61
62
62
63
The example will statically build all dependencies based on the versions specified on `static.sh`.
63
64
Then statically build the golang application and deploy it into an image based off `gcr.io/distroless/static`.
0 commit comments