Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit 07c5c9d

Browse files
authored
Merge pull request #95 from pontem-network/feature-fix-Dockerfile
Remove mount cache for Dockerfile
2 parents b8a03d7 + bac50eb commit 07c5c9d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.build/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@ RUN curl -sL --fail -o "/usr/local/bin/dove" "https://github.com/pontem-network/
2525
dove -V
2626
COPY ./scripts/ ./scripts/
2727
COPY ./Makefile ./
28-
RUN --mount=type=cache,target=/usr/local/cargo/registry \
29-
--mount=type=cache,target=/usr/local/cargo/git \
30-
--mount=type=cache,target=/opt/build/target \
31-
make init
28+
RUN make init
3229

3330
COPY ./ ./
3431
RUN cargo clean -p pontem-node
35-
RUN --mount=type=cache,target=/usr/local/cargo/registry \
36-
--mount=type=cache,target=/usr/local/cargo/git \
37-
--mount=type=cache,target=/opt/build/target \
38-
rustup target add wasm32-unknown-unknown && \
32+
RUN rustup target add wasm32-unknown-unknown && \
3933
make test && make build && \
4034
mkdir -p release && \
4135
cp target/release/pontem release/

0 commit comments

Comments
 (0)