aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 3f7c386..9f96ede 100644
--- a/README
+++ b/README
@@ -87,6 +87,10 @@ _________________
dune build
+ Optimized build with
+
+ dune build --profile release
+
And to run:
dune exec -- stitch
@@ -95,11 +99,10 @@ _________________
dune exec -- stitch --help=groff
- To prepare for release, we need to statically link the binary, which
- unless you use a musl based distro it will not do out of the box.
+ When the system is built with Nix, it will be dynamically linked.
- There is a Dockerfile included that prepares the release, use it with
- podman:
+ To build a static release, There is a Dockerfile included that
+ compiles it with musl, use it with podman:
podman pull docker.io/alpine:edge
podman build . -t stitch:latest