mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2025-01-14 00:29:27 -05:00
Fix opam-repository commit for reproducible builds
Also, display the actual and expected SHA hashes after building.
This commit is contained in:
parent
d6074f2271
commit
07ff3d6147
@ -1,4 +1,9 @@
|
||||
FROM ocaml/opam:debian-8_ocaml-4.03.0
|
||||
|
||||
# Pin last known-good version for reproducible builds.
|
||||
# Remove this line if you want to test with the latest versions.
|
||||
RUN cd opam-repository && git reset --hard 0f17b354206c97e729700ce60ddce3789ccb1d52 && opam update
|
||||
|
||||
RUN sudo apt-get install -y m4 libxen-dev
|
||||
RUN opam install -y vchan xen-gnt mirage-xen-ocaml mirage-xen-minios io-page mirage-xen mirage
|
||||
RUN opam pin add -n -y mirage-nat 'https://github.com/talex5/mirage-nat.git#simplify-checksum'
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user