This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
check-da-helm/Dockerfile

12 lines
323 B
Docker
Raw Permalink Normal View History

2023-08-06 18:51:19 +00:00
FROM rust:1.70.0-alpine3.18 as builder
2023-02-14 21:16:34 +00:00
WORKDIR /src
RUN apk update && apk add --no-cache gcc musl-dev
COPY ./ .
2023-03-17 10:02:04 +00:00
RUN rustup default nightly && rustup update
RUN cargo build --release --jobs 2 -Z sparse-registry
2023-02-14 21:16:34 +00:00
2023-08-06 18:51:19 +00:00
FROM alpine:3.18
2023-02-14 21:16:34 +00:00
COPY --from=builder /src/target/release/cdh /bin/cdh
WORKDIR /workdir
ENTRYPOINT ["/bin/cdh"]