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.

27 lines
847 B

  1. FROM docker.0k.io/apache:carif
  2. ## Limesurvey
  3. RUN apt-get update && \
  4. DEBIAN_FRONTEND=noninteractive apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev && \
  5. apt-get clean && \
  6. rm -rf /var/lib/apt/lists/* && \
  7. docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
  8. docker-php-ext-install gd pdo_mysql mbstring
  9. ## Formanoo_nfo
  10. RUN apt-get update && \
  11. DEBIAN_FRONTEND=noninteractive apt-get install -y libpq-dev && \
  12. apt-get clean && \
  13. rm -rf /var/lib/apt/lists/*
  14. RUN docker-php-ext-install pgsql pdo_pgsql
  15. RUN a2enmod headers proxy_http rewrite ssl
  16. ## Can remove this when SSL certificate are all valid ones
  17. RUN apt-get update && apt-get install -y --force-yes ssl-cert
  18. COPY entrypoint.sh /entrypoint.sh
  19. ENTRYPOINT [ "/entrypoint.sh" ]