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
Nikolai Rodionov e3bc5fb175 first commit
2023-01-15 21:12:42 +01:00

13 lines
452 B
Docker

FROM rust:1.62.0-alpine3.16 as builder
RUN apk add alpine-sdk
RUN mkdir -p /src
WORKDIR /src
COPY ./ .
RUN cargo build --release
FROM registry.kci.rocks/build_images/k8s-helmfile-deploy
RUN apk add --no-cache libstdc++ gcompat && apk add --no-cache yq --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
COPY --from=builder /src/target/release/helmfile_checker /bin/helmfile_checker
ENV RUST_LOG=info
ENTRYPOINT ["/bin/helmfile_checker"]