FROM debian:latest
RUN apt-get update && \
  apt-get -y install curl && \
  curl https://gitea.ds9.dedyn.io/olli/debian.ansible.docker/raw/branch/main/build-debian-env.sh >build-debian-env.sh && \
  bash -ex build-debian-env.sh
RUN addgroup --system --gid 10000 dabo
RUN adduser --system --disabled-password --disabled-login --gid 10000 --uid 10000 --home /dabo/home dabo
ENV LANG en_US.utf8
ENTRYPOINT ["/dabo/dabo-bot.sh"]