############################
# Final container
############################
FROM <%= it.registry %>/<%= it.image %>

WORKDIR /ops

ADD --chown=ops:9999 . .

RUN bash -c "./dependencies.sh"

USER ops
ENV USER ops
ENV HOME /ops
ENV XDG_RUNTIME_DIR=/run/ops/9999
