Skip to content

Commit

Permalink
fix(docker): release dockerfile build
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Sep 16, 2023
1 parent d366adc commit 03d43b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifest/docker/release/x86_64-linux-musl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM clux/muslrust:stable as builder
RUN rustup update nightly
RUN rustup toolchain install nightly --profile minimal -t x86_64-unknown-linux-musl
WORKDIR /app
COPY . .
RUN cargo build +nightly --release --target x86_64-unknown-linux-musl
RUN cargo +nightly build --release --target x86_64-unknown-linux-musl

FROM alpine:3.18
ENV TZ Asia/Shanghai
Expand Down

0 comments on commit 03d43b0

Please sign in to comment.