Dockerfile 561 B

1234567891011121314151617181920212223242526272829
  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. gosu \
  8. && apt-get clean \
  9. && rm -rf /var/lib/apt/lists/*
  10. RUN pip install \
  11. mysql-connector-python \
  12. jinja2 \
  13. redis \
  14. dnspython \
  15. psutil
  16. COPY data/Dockerfiles/bootstrap /bootstrap
  17. COPY data/Dockerfiles/mariadb/docker-entrypoint.sh /docker-entrypoint.sh
  18. RUN chmod +x /docker-entrypoint.sh
  19. ENTRYPOINT ["/docker-entrypoint.sh"]
  20. CMD ["mysqld"]