Switch Docker base image from Alpine to Fedora

There seems to be a problem with Xen events getting lost on Alpine.
This commit is contained in:
Thomas Leonard 2020-10-26 15:19:30 +00:00
parent 3dbb9ecb27
commit be7461a20a
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Pin the base image to a specific hash for maximum reproducibility.
# It will probably still work on newer images, though, unless Debian
# It will probably still work on newer images, though, unless an update
# changes some compiler optimisations (unlikely).
#FROM ocurrent/opam:alpine-3.10-ocaml-4.10
FROM ocurrent/opam@sha256:4546b41a99b54f163af435327c86f88d06346f2a059f0f42bea431b37329ea8d
#FROM ocurrent/opam:fedora-32-ocaml-4.10
FROM ocurrent/opam@sha256:2e0e1689d2260c202bf944034f15ba8ebe945dba6b126cc6dd6b185c223014f3
# Pin last known-good version for reproducible builds.
# Remove this line (and the base image pin above) if you want to test with the

View File

@ -5,5 +5,5 @@ 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 qubes_firewall.xen)"
echo "SHA2 last known: a635ead410ffb72abb8b44e8c5f8f2cfc8752c4787e737ed6cdc0089143ace00"
echo "SHA2 last known: 583d22327500fa092f436af1d0d9b1b78ebe12abd814c128ec7452c2f4cf319a"
echo "(hashes should match for released versions)"