Dockerfile 550 B

12345678910111213141516171819202122232425262728
  1. FROM mariadb:10.11
  2. LABEL maintainer = "The Infrastructure Company GmbH <info@servercow.de>"
  3. RUN apt-get update && \
  4. apt-get install -y --no-install-recommends \
  5. python3 \
  6. python3-pip \
  7. && apt-get clean \
  8. && rm -rf /var/lib/apt/lists/*
  9. RUN pip install \
  10. mysql-connector-python \
  11. jinja2 \
  12. redis \
  13. dnspython \
  14. psutil
  15. COPY data/Dockerfiles/bootstrap /bootstrap
  16. COPY data/Dockerfiles/mariadb/docker-entrypoint.sh /docker-entrypoint.sh
  17. RUN chmod +x /docker-entrypoint.sh
  18. ENTRYPOINT ["/docker-entrypoint.sh"]
  19. CMD ["mysqld"]