Back out test stuff, ready for Tollef to merge
[shim-review.git] / Dockerfile
1 FROM debian:buster
2 RUN echo "deb-src http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/deb-src.list
3 RUN apt-get update -y
4 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential git-buildpackage
5 RUN apt-get build-dep -y shim
6 RUN git clone https://github.com/tfheen/shim-review.git
7 #RUN git clone https://git.einval.com/git/shim-review.git
8 #COPY shimx64.efi /shim-review/shimx64.efi
9 RUN git clone https://salsa.debian.org/efi-team/shim.git
10 WORKDIR /shim
11 RUN gbp buildpackage -us -uc
12 WORKDIR /
13 RUN hexdump -Cv /shim/shim*.efi > build
14 RUN hexdump -Cv /shim-review/$(basename /shim/shim*.efi) > orig
15 RUN diff -u orig build