|
@@ -5,7 +5,7 @@ ARG COMPOSER_HASH
|
|
|
# Configure php
|
|
# Configure php
|
|
|
COPY /docker/typo3/conf/memory.ini /usr/local/etc/php/conf.d/
|
|
COPY /docker/typo3/conf/memory.ini /usr/local/etc/php/conf.d/
|
|
|
COPY /docker/typo3/conf/apc.ini /usr/local/etc/php/conf.d/
|
|
COPY /docker/typo3/conf/apc.ini /usr/local/etc/php/conf.d/
|
|
|
-COPY /docker/typo3/conf/xdebug.ini /usr/local/etc/php/conf.d/
|
|
|
|
|
|
|
+#COPY /docker/typo3/conf/xdebug.ini /usr/local/etc/php/conf.d/
|
|
|
|
|
|
|
|
# Configure apache
|
|
# Configure apache
|
|
|
COPY /docker/typo3/conf/typo3.conf /etc/apache2/sites-available/
|
|
COPY /docker/typo3/conf/typo3.conf /etc/apache2/sites-available/
|
|
@@ -27,8 +27,8 @@ RUN \
|
|
|
docker-php-ext-enable opcache; \
|
|
docker-php-ext-enable opcache; \
|
|
|
|
|
|
|
|
# Install and enable xdebug
|
|
# Install and enable xdebug
|
|
|
- pecl install xdebug-2.9.8; \
|
|
|
|
|
- docker-php-ext-enable xdebug; \
|
|
|
|
|
|
|
+# pecl install xdebug-2.9.8; \
|
|
|
|
|
+# docker-php-ext-enable xdebug; \
|
|
|
|
|
|
|
|
# Set locale
|
|
# Set locale
|
|
|
echo 'fr_FR.UTF-8 UTF-8' > /etc/locale.gen; \
|
|
echo 'fr_FR.UTF-8 UTF-8' > /etc/locale.gen; \
|
|
@@ -45,6 +45,9 @@ ENV LANG fr_FR.UTF-8
|
|
|
ENV LANGUAGE fr_FR:fr
|
|
ENV LANGUAGE fr_FR:fr
|
|
|
ENV LC_ALL fr_FR.UTF-8
|
|
ENV LC_ALL fr_FR.UTF-8
|
|
|
|
|
|
|
|
|
|
+# CLI shortcut
|
|
|
|
|
+COPY /docker/typo3/conf/cli /var/www/typo3/
|
|
|
|
|
+
|
|
|
# Declare the entrypoint.sh file
|
|
# Declare the entrypoint.sh file
|
|
|
COPY ./docker/typo3/entrypoint.sh /entrypoint.sh
|
|
COPY ./docker/typo3/entrypoint.sh /entrypoint.sh
|
|
|
RUN chmod +x /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|