Skip to content

Commit

Permalink
update earthly config
Browse files Browse the repository at this point in the history
  • Loading branch information
onatm committed May 11, 2024
1 parent 4c6695f commit 5e73ddf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION 0.6
FROM rust:1.59
VERSION 0.8
FROM rust:1
WORKDIR /grpc_health_probe

format:
Expand All @@ -19,7 +19,6 @@ install-chef:
prepare-cache:
FROM +install-chef
RUN apt-get update
RUN apt-get install lld protobuf-compiler -y
COPY --dir src Cargo.lock Cargo.toml .
RUN cargo chef prepare
SAVE ARTIFACT recipe.json
Expand All @@ -28,7 +27,6 @@ build-cache:
FROM +install-chef
COPY +prepare-cache/recipe.json ./
RUN apt-get update
RUN apt-get install lld protobuf-compiler -y
RUN cargo chef cook
SAVE ARTIFACT target
SAVE ARTIFACT $CARGO_HOME cargo_home
Expand Down

0 comments on commit 5e73ddf

Please sign in to comment.