Skip to content

Commit 93510a2

Browse files
committed
bindings: suggest using -tags remote to reduce file size
Closes: containers#12548 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent f18ebad commit 93510a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/bindings/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,6 @@ $
239239
240240
You can also verify that the information being passed back and forth is correct by putting
241241
with a tool like `socat`, which can dump what the socket is seeing.
242+
243+
## Reducing Binary Size with "remote" Build Tag
244+
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 commit comments

Comments
 (0)