mirror of
https://github.com/mbround18/valheim-docker.git
synced 2021-10-22 21:53:54 +03:00
Updated workflows, deps, and scripts (#428)
* Updated workflows, deps, and scripts * Trying experimental cache * update chef image
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# ------------------ #
|
||||
# -- Odin Planner -- #
|
||||
# ------------------ #
|
||||
FROM lukemathwalker/cargo-chef as planner
|
||||
FROM lukemathwalker/cargo-chef:latest-rust-1.54-alpine as planner
|
||||
WORKDIR /data/odin
|
||||
COPY . .
|
||||
RUN cargo chef prepare --recipe-path recipe.json
|
||||
@@ -9,7 +9,7 @@ RUN cargo chef prepare --recipe-path recipe.json
|
||||
# ------------------ #
|
||||
# -- Odin Cacher -- #
|
||||
# ------------------ #
|
||||
FROM lukemathwalker/cargo-chef as cacher
|
||||
FROM lukemathwalker/cargo-chef:latest-rust-1.54-alpine as cacher
|
||||
WORKDIR /data/odin
|
||||
COPY --from=planner /data/odin/recipe.json recipe.json
|
||||
RUN cargo chef cook --release --recipe-path recipe.json
|
||||
|
||||
Reference in New Issue
Block a user