FROM fluxcd/flux-cli:v2.2.3 as flux-source WORKDIR /out RUN cp $(which flux) . FROM ghcr.io/flant/shell-operator:latest RUN apk update && apk add envsubst --no-cache COPY --from=flux-source /out/flux /usr/bin/flux ADD /hooks /hooks ADD /tpls /tpls