Skip to content

Commit

Permalink
chore(docker): Cache proof params in non-dev docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Dec 14, 2022
1 parent 852e26b commit 7269d8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ COPY --from=builder /usr/lib/x86_64-linux-gnu/libhwloc.so* /lib/
COPY --from=builder /usr/lib/x86_64-linux-gnu/libnuma.so* /lib/
COPY --from=builder /usr/lib/x86_64-linux-gnu/libltdl.so* /lib/

RUN /usr/bin/lily init

RUN apt-get update
RUN apt-get install -y --no-install-recommends \
jq
RUN apt-get install -y --no-install-recommends jq

ENTRYPOINT ["/usr/bin/lily"]
CMD ["--help"]
5 changes: 3 additions & 2 deletions build/docker/prod_entrypoint.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ COPY --from=builder /usr/lib/x86_64-linux-gnu/libhwloc.so* /lib/
COPY --from=builder /usr/lib/x86_64-linux-gnu/libnuma.so* /lib/
COPY --from=builder /usr/lib/x86_64-linux-gnu/libltdl.so* /lib/

RUN /usr/bin/lily init

RUN apt-get update
RUN apt-get install -y --no-install-recommends \
jq
RUN apt-get install -y --no-install-recommends jq

ENTRYPOINT ["/usr/bin/lily"]
CMD ["--help"]

0 comments on commit 7269d8d

Please sign in to comment.