From the root directory of the ockam codebase:
Build the builder:
docker build \
--tag ockam-builder:latest \
--tag ghcr.io/build-trust/ockam-builder:latest \
tools/docker/builder
Run the builder:
docker run --rm -it -e HOST_USER_ID=$(id -u) --volume $(pwd):/work ockam-builder:latest bash
docker build \
--tag ockam-cloud-node:latest \
--tag ghcr.io/build-trust/ockam-cloud-node:latest \
--file tools/docker/cloud-node/Dockerfile .
Run the cloud node:
docker run --rm -it ockam-cloud-node:latest
docker build \
--tag ockam:latest \
--tag ghcr.io/build-trust/ockam:latest \
--file tools/docker/ockam/Dockerfile .
Run Ockam binary:
docker run --rm -it ockam:latest --help
All Ockam images are signed by cosign, you can verify our images using the commands below with our public key
$ cat cosign.pub
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEt/XQMe16Vr/iIDr/ckKws8P3/x5W
lu6nc6jxKa/Ue5C6RI6xAbNlvzmpY/KjUU3Jie+3P9UG7TkkrsVRC7Zi0g==
-----END PUBLIC KEY-----
$ cosign verify --key cosign.pub $IMAGE_NAME