From df19364703e423bbf8502ea558e961a6040f511e Mon Sep 17 00:00:00 2001 From: Christopher Chang <51393127+chriscerie@users.noreply.github.com> Date: Sat, 11 Nov 2023 08:52:41 -0800 Subject: [PATCH] Remove change --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e3ac56a..5e3abffa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,14 +12,14 @@ RUN apt-get update && \ apt-get install g++ && \ cargo install --no-default-features --branch main --git https://github.com/Kampfkarren/selene selene -FROM rust:${RUST_VERSION}-alpine AS selene-light-musl-builder -RUN apk add g++ && \ - cargo install --no-default-features --branch main --git https://github.com/Kampfkarren/selene selene - FROM rust:${RUST_VERSION}-alpine AS selene-musl-builder RUN apk add g++ && \ cargo install --branch main --git https://github.com/Kampfkarren/selene selene +FROM rust:${RUST_VERSION}-alpine AS selene-light-musl-builder +RUN apk add g++ && \ + cargo install --no-default-features --branch main --git https://github.com/Kampfkarren/selene selene + FROM bash AS selene COPY --from=selene-builder /usr/local/cargo/bin/selene / CMD ["/selene"] @@ -28,10 +28,10 @@ FROM bash AS selene-light COPY --from=selene-light-builder /usr/local/cargo/bin/selene / CMD ["/selene"] -FROM bash AS selene-light-musl -COPY --from=selene-light-musl-builder /usr/local/cargo/bin/selene / -CMD ["/selene"] - FROM bash AS selene-musl COPY --from=selene-musl-builder /usr/local/cargo/bin/selene / +CMD ["/selene"] + +FROM bash AS selene-light-musl +COPY --from=selene-light-musl-builder /usr/local/cargo/bin/selene / CMD ["/selene"] \ No newline at end of file