Make CDH great (...not again) #3

Merged
allanger merged 7 commits from refs/pull/3/head into main 2023-01-16 20:05:07 +00:00
Showing only changes of commit e3bc5fb175 - Show all commits

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
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"]