fork 0k-charms
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.

30 lines
1.1 KiB

  1. ## copy of 'php:7.3-apache' image
  2. ## XXXvlab: will need to move towards separate apache and php, so that nginx can
  3. ## replace apache in all conf.
  4. FROM docker.0k.io/php:7.3-apache
  5. ## Limesurvey
  6. # RUN apt-get update && \
  7. # DEBIAN_FRONTEND=noninteractive apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev && \
  8. # apt-get clean && \
  9. # rm -rf /var/lib/apt/lists/* && \
  10. # docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
  11. # docker-php-ext-install gd pdo_mysql mbstring
  12. ## Formanoo_nfo
  13. # RUN apt-get update && \
  14. # DEBIAN_FRONTEND=noninteractive apt-get install -y libpq-dev && \
  15. # apt-get clean && \
  16. # rm -rf /var/lib/apt/lists/*
  17. # RUN docker-php-ext-install pgsql pdo_pgsql
  18. ## XXXvlab: could load these in 'entrypoint.sh' to be more dynamic
  19. RUN a2enmod headers proxy_http rewrite ssl proxy_wstunnel http2 proxy_connect
  20. ## Can remove this when SSL certificate are all valid ones
  21. RUN apt-get update && apt-get install -y --force-yes ssl-cert
  22. COPY entrypoint.sh /entrypoint.sh
  23. ENTRYPOINT [ "/entrypoint.sh" ]