diff --git a/Dockerfile b/Dockerfile index 97723fd..b176991 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,6 @@ RUN cargo chef prepare FROM chef as builder COPY --from=planner /app/recipe.json recipe.json RUN apt-get update && apt-get -y upgrade && apt-get install -y gcc libclang-dev pkg-config libssl-dev -RUN rustup target add x86_64-unknown-linux-gnu -RUN rustup toolchain install stable-x86_64-unknown-linux-gnu RUN --mount=type=ssh cargo chef cook --release --recipe-path recipe.json --bin zenith-builder-example COPY --exclude=target . . @@ -35,4 +33,4 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y libssl-dev ca-cer COPY --from=builder /app/target/release/zenith-builder-example /usr/local/bin/zenith-builder-example -ENTRYPOINT [ "/usr/local/bin/zenith-builder-example" ] \ No newline at end of file +ENTRYPOINT [ "/usr/local/bin/zenith-builder-example" ]