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
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Dockerfile 1.3KB

12345678910111213141516171819202122232425262728293031323334353637
  1. FROM ubuntu:16.04
  2. ARG DEBIAN_FRONTEND=noninteractive
  3. # install: php / mysql / postgres / tools / mssql deps
  4. RUN apt-get update && apt-get -y install \
  5. php-cli php-xml \
  6. mariadb-server mariadb-client php-mysql \
  7. postgresql php-pgsql \
  8. postgresql-9.5-postgis-2.2 \
  9. git wget \
  10. curl apt-transport-https debconf-utils sudo
  11. # adding custom MS repository
  12. RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
  13. RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
  14. RUN curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list > /etc/apt/sources.list.d/mssql-server-2017.list
  15. # install SQL Server and tools
  16. RUN apt-get update && apt-get -y install mssql-server
  17. RUN ACCEPT_EULA=Y MSSQL_PID=Express MSSQL_SA_PASSWORD=sapwd123! /opt/mssql/bin/mssql-conf setup || true
  18. RUN ACCEPT_EULA=Y apt-get install -y msodbcsql mssql-tools
  19. # install pdo_sqlsrv
  20. RUN apt-get -y install php-pear build-essential unixodbc-dev php-dev
  21. RUN pecl install pdo_sqlsrv-5.3.0
  22. RUN echo extension=pdo_sqlsrv.so > /etc/php/7.0/mods-available/pdo_sqlsrv.ini
  23. RUN phpenmod pdo_sqlsrv
  24. # install locales
  25. RUN apt-get -y install locales
  26. RUN locale-gen en_US.UTF-8
  27. RUN update-locale LANG=en_US.UTF-8
  28. # install run script
  29. ADD run.sh /usr/sbin/docker-run
  30. CMD docker-run