Fix opam-repository commit for reproducible builds

Also, display the actual and expected SHA hashes after building.
This commit is contained in:
Thomas Leonard 2017-01-28 13:44:21 +00:00
parent d6074f2271
commit 07ff3d6147
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,8 @@
#!/bin/sh
set -eux
set -eu
echo Building Docker image with dependencies..
docker build -t qubes-mirage-firewall .
echo Building Firewall...
docker run --rm -i -v `pwd`:/home/opam/qubes-mirage-firewall qubes-mirage-firewall
echo "SHA2 of build: $(sha256sum mir-qubes-firewall.xen)"
echo "SHA2 last known: f0c1a06fc4b02b494c81972dc89419af6cffa73b75839c0e8ee3798d77bf69b3"