github.com/transparency-dev/armored-witness-boot@v0.1.0/recovery/Dockerfile (about) 1 FROM golang:1.22.0-bookworm 2 3 ARG TAMAGO_VERSION 4 # Must be a valid commit hash for https://github.com/usbarmory/armory-ums/ 5 ARG ARMORY_UMS_VERSION=850baf54809bd29548d6f817933240043400a4e1 6 7 # Install dependencies. 8 RUN apt-get update && apt-get install -y make wget u-boot-tools binutils-arm-none-eabi 9 10 RUN wget "https://github.com/usbarmory/tamago-go/releases/download/tamago-go${TAMAGO_VERSION}/tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz" 11 RUN tar -xvf "tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz" -C / 12 # Set Tamago path for Make rule. 13 ENV TAMAGO=/usr/local/tamago-go/bin/go 14 15 WORKDIR /build 16 17 RUN git clone https://github.com/usbarmory/armory-ums.git 18 RUN cd armory-ums && git reset --hard ${ARMORY_UMS_VERSION} && \ 19 REPRODUCIBLE=1 make imx && \ 20 git rev-parse --verify HEAD > armory-ums.imx.git-commit