From 492add38592d6bd63aa88d41e9398e8a74ed5809 Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Wed, 13 Dec 2023 17:54:31 +0000 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed5f2ea..1b81d83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,12 +18,14 @@ WORKDIR /build COPY . . +# The Makefile expects the verifiers to be in files, so make it so. +RUN echo "${APPLET_PUBLIC_KEY}" > /tmp/applet.pub +RUN echo "${LOG_PUBLIC_KEY}" > /tmp/log.pub + # Firmware transparency parameters for output binary. ENV LOG_ORIGIN=${LOG_ORIGIN} \ APPLET_PUBLIC_KEY="/tmp/applet.pub" \ LOG_PUBLIC_KEY="/tmp/log.pub" \ GIT_SEMVER_TAG=${GIT_SEMVER_TAG} -RUN echo "${APPLET_PUBLIC_KEY}" > /tmp/applet.pub -RUN echo "${LOG_PUBLIC_KEY}" > /tmp/log.pub RUN make trusted_os_release