]> Repositorios git - scryer-prolog.git/commitdiff
Switched from using @LukeMathWalker's image to using the official Rust image. Was...
authorpanasenco <[email protected]>
Sun, 9 May 2021 00:04:54 +0000 (17:04 -0700)
committerpanasenco <[email protected]>
Sun, 9 May 2021 00:06:52 +0000 (17:06 -0700)
Dockerfile

index 87cf1aeefa1d96b1b780404b1b33d1085cef8b5b..15132c962877b39f658481ddb4b1e70422c454a7 100755 (executable)
@@ -1,11 +1,13 @@
 # See https://github.com/LukeMathWalker/cargo-chef
-FROM lukemathwalker/cargo-chef as planner
+FROM rust as planner
 WORKDIR /scryer-prolog
+RUN cargo install cargo-chef 
 COPY . .
 RUN cargo chef prepare --recipe-path recipe.json
 
-FROM lukemathwalker/cargo-chef as cacher
+FROM rust as cacher
 WORKDIR /scryer-prolog
+RUN cargo install cargo-chef
 COPY --from=planner /scryer-prolog/recipe.json recipe.json
 RUN cargo chef cook --release --recipe-path recipe.json