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
Ви не можете вибрати більше 25 тем Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. FROM centos:8
  2. # add this to avoid locale warnings
  3. RUN yum -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. RUN wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup && bash mariadb_repo_setup
  10. # enable the postgresql repo
  11. RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
  12. # enable epel and powertools repos
  13. RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
  14. RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-enabled PowerTools
  15. # set php to remi 7.4
  16. RUN dnf -y module reset php && dnf -y module enable php:remi-7.4
  17. # disable mariadb and postgresql appstream repo
  18. RUN dnf -y module disable mariadb
  19. RUN dnf -y module disable postgresql
  20. RUN yum -y install \
  21. php-cli php-xml \
  22. MariaDB-server MariaDB-client php-mysqlnd php-json \
  23. postgresql12 postgresql12-server php-pgsql postgis30_12 \
  24. sqlite php-sqlite3 \
  25. git wget
  26. # install run script
  27. ADD run.sh /usr/sbin/docker-run
  28. CMD docker-run