This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine/git AS base | |
WORKDIR /opt/base | |
RUN git clone --single-branch --branch master --depth 1 https://github.com/openwebwork/webwork2.git | |
RUN git clone --single-branch --branch master --depth 1 https://github.com/openwebwork/pg.git | |
RUN git clone --single-branch --branch master --depth 1 https://github.com/mathjax/MathJax | |
RUN git clone --single-branch --branch master --depth 1 https://github.com/openwebwork/webwork-open-problem-library | |
# Clean up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prefork MPM | |
# StartServers: number of server processes to start | |
# MinSpareServers: minimum number of server processes which are kept spare | |
# MaxSpareServers: maximum number of server processes which are kept spare | |
# MaxRequestWorkers: maximum number of server processes allowed to start | |
# MaxConnectionsPerChild: maximum number of requests a server process serves | |
<IfModule mpm_prefork_module> | |
StartServers 8 | |
MinSpareServers 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.4/ for detailed information about | |
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific | |
# hints. | |
# | |
# | |
# Summary of how the Apache 2 configuration works in Debian: | |
# The Apache 2 web server configuration in Debian is quite different to | |
# upstream's suggested way to configure the web server. This is because Debian's |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.0.20-apache | |
LABEL maintainer "Nelson Moller" | |
# Pour avoir /etc/ssl/certs/ssl-cert-snakeoil.pem ssl-cert | |
# https offert gracieusement par netscaler | |
RUN apt-get update && apt-get install -y \ | |
# pour installer toutes les déps. | |
libmemcached-dev zlib1g-dev libmcrypt-dev libxml2-dev libpng-dev libicu-dev\ | |
&& pecl install memcached-3.0.3 \ | |
&& docker-php-ext-enable memcached \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:5.6.31-apache | |
LABEL maintainer "Nelson Moller" | |
# Pour avoir /etc/ssl/certs/ssl-cert-snakeoil.pem ssl-cert | |
# https offert gracieusement par netscaler | |
RUN apt-get update && apt-get install -y \ | |
# pour installer toutes les déps. | |
libmemcached-dev zlib1g-dev libmcrypt-dev libxml2-dev libpng-dev libicu-dev\ | |
&& pecl install memcached-3.0.3 \ | |
&& docker-php-ext-enable memcached \ |