Skip to content

Commit

Permalink
Key ENVs are paths (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter authored Dec 12, 2023
1 parent f3d5e3f commit 7c0fedd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ ENV TAMAGO=/usr/local/tamago-go/bin/go
ENV FT_LOG_URL=${FT_LOG_URL} \
FT_BIN_URL=${FT_BIN_URL} \
LOG_ORIGIN=${LOG_ORIGIN} \
LOG_PUBLIC_KEY=${LOG_PUBLIC_KEY} \
APPLET_PUBLIC_KEY=${APPLET_PUBLIC_KEY} \
OS_PUBLIC_KEY1=${OS_PUBLIC_KEY1} \
OS_PUBLIC_KEY2=${OS_PUBLIC_KEY2} \
LOG_PUBLIC_KEY="/tmp/log.pub" \
APPLET_PUBLIC_KEY="/tmp/applet.pub" \
OS_PUBLIC_KEY1="/tmp/os1.pub" \
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 7c0fedd

Please sign in to comment.