Skip to content

Commit d4c08df

Browse files
placer14frrist
authored andcommitted
chore(docker): Cache proof params in non-dev docker image
1 parent 852e26b commit d4c08df

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ COPY --from=builder /usr/lib/x86_64-linux-gnu/libhwloc.so* /lib/
4646
COPY --from=builder /usr/lib/x86_64-linux-gnu/libnuma.so* /lib/
4747
COPY --from=builder /usr/lib/x86_64-linux-gnu/libltdl.so* /lib/
4848

49+
RUN /usr/bin/lily init
50+
4951
RUN apt-get update
50-
RUN apt-get install -y --no-install-recommends \
51-
jq
52+
RUN apt-get install -y --no-install-recommends jq
5253

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

build/docker/prod_entrypoint.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ COPY --from=builder /usr/lib/x86_64-linux-gnu/libhwloc.so* /lib/
99
COPY --from=builder /usr/lib/x86_64-linux-gnu/libnuma.so* /lib/
1010
COPY --from=builder /usr/lib/x86_64-linux-gnu/libltdl.so* /lib/
1111

12+
RUN /usr/bin/lily init
13+
1214
RUN apt-get update
13-
RUN apt-get install -y --no-install-recommends \
14-
jq
15+
RUN apt-get install -y --no-install-recommends jq
1516

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

0 commit comments

Comments
 (0)