update readme with needed deps and steps to build locally
@@ -6,6 +6,8 @@ Take a look at the file [deploy/README.md](deploy/README.adoc). It guides you th
## Building
+### In a container
+
You will need:
* GNU Make
@@ -15,3 +17,24 @@ You will need:
To build and publish, run:
make CONTAINER_REGISTRY=quay.io/your-org
+
+### In a container
+To build locally :
+
+* [Rust](https://rustup.rs)
+* The following dependencies (packages names for fedora):
+ - `gcc`
+ - `openssl-devel`
+ - `cyrus-sasl-devel`
+ - `cmake`
+ - `build-essential`
+ - `libpq-devel`
+* A container engine (e.g. Docker or Podman)
+* An internet connection
+
+To build the binaries, run :
+
+ make cargo-build
+
+Then build the docker images and publish them :
+ make images CONTAINER_REGISTRY=quay.io/your-org
