diff --git a/deployment/build-images.sh b/deployment/build-images.sh index 7b2d92377..71a76f896 100755 --- a/deployment/build-images.sh +++ b/deployment/build-images.sh @@ -62,8 +62,8 @@ require_cmds() { require_cmds docker git find touch skopeo -if $USE_NODE || $USE_RUST_LAUNCHER; then - require_cmds repro-env podman +if $USE_NODE || $USE_NODE_GCP || $USE_RUST_LAUNCHER; then + require_cmds repro-env podman catatonit fi if ! docker buildx &>/dev/null; then diff --git a/docs/reproducible-builds.md b/docs/reproducible-builds.md index 507861502..1d6462803 100644 --- a/docs/reproducible-builds.md +++ b/docs/reproducible-builds.md @@ -12,11 +12,13 @@ security and verification purposes. - `docker` with buildx support - `jq` - `git` +- `skopeo` -**Additional requirements for building the node image**: +**Additional requirements for building the node or launcher image**: - `repro-env` - Tool for reproducible build environments ([install here](https://github.com/kpcyrd/repro-env)) - `podman` +- `catatonit` - podman's container entrypoint, which `repro-env` requires **Requirements for building the MPC contract** (either path works): diff --git a/docs/running-an-mpc-node-in-tdx-external-guide.md b/docs/running-an-mpc-node-in-tdx-external-guide.md index 70c68861c..e8090e261 100644 --- a/docs/running-an-mpc-node-in-tdx-external-guide.md +++ b/docs/running-an-mpc-node-in-tdx-external-guide.md @@ -1849,8 +1849,8 @@ git checkout 828f816be36aed6f0d2438e0131b3e9d7d0931ad ``` * Compile it using the reproduce build script. For this you need to install - `repro-env`, `docker-buildx`, and `skopeo`, and have the `docker` daemon - running. + `repro-env`, `podman`, `catatonit`, `docker-buildx`, and `skopeo`, and have + the `docker` daemon running. ```bash $ ./deployment/build-images.sh --node @@ -1955,7 +1955,7 @@ cd mpc/ git checkout ``` -* Compile it using the reproducible build script. For this you need to install `repro-env`, `docker-buildx`, and `skopeo`, and have the `docker` daemon running. +* Compile it using the reproducible build script. For this you need to install `repro-env`, `podman`, `catatonit`, `docker-buildx`, and `skopeo`, and have the `docker` daemon running. ```bash $ ./deployment/build-images.sh --rust-launcher