api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. FROM centos:8
  2. # add this to avoid locale warnings
  3. RUN dnf -y install glibc-locale-source glibc-langpack-en
  4. RUN localedef -i en_US -f UTF-8 en_US.UTF-8
  5. # add utils for repos
  6. RUN dnf -y install wget dnf-utils
  7. # enable remi repo for php
  8. RUN dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
  9. # enable mariadb repo
  10. RUN wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup && bash mariadb_repo_setup
  11. # enable the postgresql repo
  12. RUN dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
  13. # enable epel repo
  14. RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  15. # enable powertools repos
  16. RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled powertools
  17. # set php to remi 8.0
  18. RUN dnf -y module reset php && dnf -y module enable php:remi-8.0
  19. # disable mariadb and postgresql default (appstream) repo
  20. RUN dnf -y module disable mariadb
  21. RUN dnf -y module disable postgresql
  22. RUN dnf -y install \
  23. php-cli php-xml php-json php-mbstring \
  24. MariaDB-server MariaDB-client php-mysqlnd \
  25. postgresql12 postgresql12-server php-pgsql postgis30_12 \
  26. sqlite php-sqlite3 \
  27. git wget
  28. # install run script
  29. ADD run.sh /usr/sbin/docker-run
  30. CMD docker-run