Upgrade dependencies

This commit is contained in:
Nikolai Rodionov
2023-08-06 20:51:19 +02:00
parent da08ab2fc7
commit 2a23551602
4 changed files with 168 additions and 187 deletions

View File

@ -1,11 +1,11 @@
FROM rust:1.66.1-alpine3.17 as builder
FROM rust:1.70.0-alpine3.18 as builder
WORKDIR /src
RUN apk update && apk add --no-cache gcc musl-dev
COPY ./ .
RUN rustup default nightly && rustup update
RUN cargo build --release --jobs 2 -Z sparse-registry
FROM alpine:3.17.1
FROM alpine:3.18
COPY --from=builder /src/target/release/cdh /bin/cdh
WORKDIR /workdir
ENTRYPOINT ["/bin/cdh"]