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