update dockerfile with rustfmt
All checks were successful
Run Check Script / check (pull_request) Successful in 2m7s
All checks were successful
Run Check Script / check (pull_request) Successful in 2m7s
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -10,19 +10,15 @@ FROM docker.io/rust:1.87.0
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN rustup target add x86_64-pc-windows-gnu
|
||||
RUN rustup target add x86_64-unknown-linux-gnu
|
||||
RUN rustup component add rustfmt
|
||||
|
||||
RUN apt update
|
||||
|
||||
# For checkout action
|
||||
RUN apt install -y nodejs
|
||||
|
||||
RUN apt install -y docker.io
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-gnu
|
||||
|
||||
RUN apt install -y mingw-w64
|
||||
RUN rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
# TODO: Consider adding more supported targets
|
||||
# nodejs for checkout action, docker for building containers, mingw for cross-compiling for windows
|
||||
RUN apt install -y nodejs docker.io mingw-w64
|
||||
|
||||
COPY --from=build /app/target/release/harmony_composer .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user