Skip to content
Snippets Groups Projects
Commit 81e0dabc authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add jit

parent bbda7e54
No related branches found
No related tags found
No related merge requests found
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg-dir --with-freetype-dir --with-webp-dir
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached & redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg-dir --with-freetype-dir --with-webp-dir
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
RUN docker-php-ext-install -j$(nproc) gd gettext intl pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached & redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached & redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached & redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -26,12 +26,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached & redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -27,12 +27,16 @@ RUN locale-gen de_DE.UTF-8 \
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg --with-freetype --with-webp
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli pdo_mysql pdo_pgsql soap zip
RUN docker-php-ext-install -j$(nproc) gd gettext intl mysqli opcache pdo_mysql pdo_pgsql soap zip
# Install Memcached and redis
RUN pecl install memcached redis \
&& docker-php-ext-enable memcached redis
# Cleanup
RUN docker-php-source delete \
&& apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y
# Enable PS in gs
RUN sed -r -i_bak 's/rights="none" pattern="([EX]?PS[23]*|PDF)"/rights="read | write" pattern="\1"/' \
/etc/ImageMagick-6/policy.xml
......@@ -3,3 +3,9 @@ max_execution_time=300
upload_max_filesize=8M
post_max_size=9M
error_reporting=22519
zend_extension=opcache.so
opcache.enable=1
opcache.enable_cli=1
opcache.jit=tracing
opcache.jit_buffer_size=100M
......@@ -14,6 +14,7 @@ final class Build extends DockerComposeCommand
$this->setName('docker:build');
$this->setDescription('Build containers');
}
protected function getDockerComposeCommand(): array
{
$dockerRunning = $this->isDockerRunning();
......
......@@ -4,13 +4,13 @@ namespace Studip\Dockerized;
final class SupportedPHPVersions
{
private const CONFIGURATION = [
'7.2' => [8072, 18072],
'7.3' => [8073, 18073],
'7.4' => [8074, 18074],
'8.0' => [8080, 18080],
'8.1' => [8081, 18081],
'8.2' => [8082, 18082],
'8.3' => [8083, 18083],
'7.2' => [8072, 8872],
'7.3' => [8073, 8873],
'7.4' => [8074, 8874],
'8.0' => [8080, 8880],
'8.1' => [8081, 8881],
'8.2' => [8082, 8882],
'8.3' => [8083, 8883],
];
private const DEFAULT = ['7.4', '8.1', '8.3'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment