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