File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,17 @@ RUN RUST_VERSION=$(grep 'channel = ' rust-toolchain.toml | \
16
16
17
17
COPY . .
18
18
19
- # Build with cache mount
20
- RUN --mount=type=cache,target=/usr/local/cargo/registry \
21
- --mount=type=cache,target=/openmina/target,id=rust-target \
22
- make build-release && \
19
+ RUN make build-release && \
20
+ mkdir -p /openmina/release-bin && \
23
21
cp /openmina/target/release/openmina /openmina/release-bin/openmina
24
22
25
- RUN --mount=type=cache,target=/usr/local/cargo/registry \
26
- --mount=type=cache,target=/openmina/target,id=rust-target \
27
- make build-testing && \
23
+ RUN make build-testing && \
24
+ mkdir -p /openmina/testing-release-bin && \
28
25
cp /openmina/target/release/openmina-node-testing \
29
- /openmina/testing-release-bin/
26
+ /openmina/testing-release-bin/openmina-node-testing
30
27
31
28
# necessary for proof generation when running a block producer.
32
- RUN git clone --depth 1 \
33
- https://github.com/openmina/circuit-blobs.git && \
29
+ RUN make download-circuits && \
34
30
rm -rf circuit-blobs/berkeley_rc1 circuit-blobs/*/tests
35
31
36
32
FROM debian:bullseye
You can’t perform that action at this time.
0 commit comments