Fix my repo address
[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://git.einval.com/shim-review.git
7 #COPY shimx64.efi /shim-review/shimx64.efi
8 RUN git clone https://salsa.debian.org/efi-team/shim.git
9 WORKDIR /shim
10 RUN gbp buildpackage -us -uc
11 WORKDIR /
12 RUN hexdump -Cv /shim/shim*.efi > build
13 RUN hexdump -Cv /shim-review/$(basename /shim/shim*.efi) > orig
14 RUN diff -u orig build