mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-06 00:33:39 +00:00
Bump rust from 1.54-buster to 1.60.0-buster (#173)
* Bump rust from 1.54-buster to 1.60.0-buster Bumps rust from 1.54-buster to 1.60.0-buster. --- updated-dependencies: - dependency-name: rust dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fmt * Remove examples * Fix config test Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Gallant <davegallant@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM rust:1.54-buster as build
|
||||
FROM rust:1.60.0-buster as build
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -22,15 +22,9 @@ ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
RUN cargo build --target=x86_64-unknown-linux-musl --release
|
||||
|
||||
RUN mkdir /examples
|
||||
|
||||
COPY examples /examples
|
||||
|
||||
### Final lightweight image
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /examples /examples
|
||||
|
||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=build /usr/src/rfd-notify/target/x86_64-unknown-linux-musl/release/rfd-notify ./rfd-notify
|
||||
|
||||
|
Reference in New Issue
Block a user