Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Dec 13, 2023
1 parent 50bc5ae commit d69b358
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ COPY . .
# Set Tamago path for Make rule.
ENV TAMAGO=/usr/local/tamago-go/bin/go

# The Makefile expects verifiers to be stored in files, so do that.
RUN echo "${APPLET_PUBLIC_KEY}" > /tmp/applet.pub
RUN echo "${LOG_PUBLIC_KEY}" > /tmp/log.pub
RUN echo "${OS_PUBLIC_KEY1}" > /tmp/os1.pub
RUN echo "${OS_PUBLIC_KEY2}" > /tmp/os2.pub

# Firmware transparency parameters for output binary.
ENV FT_LOG_URL=${FT_LOG_URL} \
FT_BIN_URL=${FT_BIN_URL} \
Expand All @@ -33,8 +39,4 @@ ENV FT_LOG_URL=${FT_LOG_URL} \
OS_PUBLIC_KEY2="/tmp/os2.pub" \
GIT_SEMVER_TAG=${GIT_SEMVER_TAG}

RUN echo "${APPLET_PUBLIC_KEY}" > /tmp/applet.pub
RUN echo "${LOG_PUBLIC_KEY}" > /tmp/log.pub
RUN echo "${OS_PUBLIC_KEY1}" > /tmp/os1.pub
RUN echo "${OS_PUBLIC_KEY2}" > /tmp/os2.pub
RUN make trusted_applet_nosign

0 comments on commit d69b358

Please sign in to comment.