Skip to content

Commit

Permalink
bindings: suggest using -tags remote to reduce file size
Browse files Browse the repository at this point in the history
Closes: containers#12548

[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Jan 25, 2024
1 parent f18ebad commit 93510a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,6 @@ $
You can also verify that the information being passed back and forth is correct by putting
with a tool like `socat`, which can dump what the socket is seeing.
## Reducing Binary Size with "remote" Build Tag
When building a program that uses the Podman Go bindings, you can reduce the binary size by passing the "remote" build tag to the go build command. This tag excludes code related to local Podman operations, which is not needed for applications that only interact with Podman over a network.

0 comments on commit 93510a2

Please sign in to comment.