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

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