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
@@ -148,6 +153,7 @@ As an additional smoke test, the compiled binaries are invoked with the `--versi
148
153
With [go-api-declarations](https://github.com/sapcc/go-api-declarations)'s [`bininfo.HandleVersionArgument` function](https://pkg.go.dev/github.com/sapcc/go-api-declarations/bininfo#HandleVersionArgument), this can be implemented in one line. If you are using Cobra or any other library to handle arguments, the [`bininfo.Version` function](https://pkg.go.dev/github.com/sapcc/go-api-declarations/bininfo#Version) is recommended instead.
149
154
150
155
* `entrypoint` allows overwriting the final entrypoint.
156
+
* `extraBuildStages` prepends additional build stages at the top of the Dockerfile. This is useful for bringing in precompiled assets from other images, or if a non-Go compilation step is required.
151
157
* `extraDirectives` appends additional directives near the end of the Dockerfile.
152
158
* `extraIgnores` appends entries in `.dockerignore` to the default ones.
153
159
* `extraPackages` installs extra Alpine packages in the final Docker layer. `ca-certificates` is always installed.
0 commit comments