mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Fix gd installation and add tidy/sodium lib
This commit is contained in:
@@ -19,6 +19,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
libtidy-dev \
|
||||||
|
libsodium-dev \
|
||||||
netcat \
|
netcat \
|
||||||
\
|
\
|
||||||
&& apt-get -y autoclean; apt-get -y autoremove; \
|
&& apt-get -y autoclean; apt-get -y autoremove; \
|
||||||
@@ -30,7 +32,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
exif \
|
exif \
|
||||||
@@ -42,6 +44,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
ENV LIMESURVEY_VERSION=$version
|
ENV LIMESURVEY_VERSION=$version
|
||||||
@@ -69,7 +73,7 @@ RUN set -ex; \
|
|||||||
rm -f "/tmp/limesurvey.tar.gz" && \
|
rm -f "/tmp/limesurvey.tar.gz" && \
|
||||||
chown -R www-data:www-data /var/www/html
|
chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
|
tidyhtml-dev \
|
||||||
|
libsodium-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
oniguruma-dev \
|
oniguruma-dev \
|
||||||
imap-dev \
|
imap-dev \
|
||||||
@@ -18,7 +20,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins
|
# Install PHP Plugins
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-imap-ssl && \
|
docker-php-ext-configure imap --with-imap-ssl && \
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
gd \
|
gd \
|
||||||
@@ -29,6 +31,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
# Download, unzip and chmod of LimeSurvey
|
# Download, unzip and chmod of LimeSurvey
|
||||||
@@ -48,6 +52,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
libtidy-dev \
|
||||||
|
libsodium-dev \
|
||||||
netcat \
|
netcat \
|
||||||
\
|
\
|
||||||
&& apt-get -y autoclean; apt-get -y autoremove; \
|
&& apt-get -y autoclean; apt-get -y autoremove; \
|
||||||
@@ -30,7 +32,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
exif \
|
exif \
|
||||||
@@ -42,6 +44,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
ENV LIMESURVEY_VERSION=$version
|
ENV LIMESURVEY_VERSION=$version
|
||||||
@@ -58,6 +62,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
libtidy-dev \
|
||||||
|
libsodium-dev \
|
||||||
netcat \
|
netcat \
|
||||||
curl \
|
curl \
|
||||||
\
|
\
|
||||||
@@ -31,7 +33,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
exif \
|
exif \
|
||||||
@@ -43,6 +45,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
ENV LIMESURVEY_VERSION=$version
|
ENV LIMESURVEY_VERSION=$version
|
||||||
@@ -70,7 +74,7 @@ RUN set -ex; \
|
|||||||
rm -f "/tmp/limesurvey.tar.gz" && \
|
rm -f "/tmp/limesurvey.tar.gz" && \
|
||||||
chown -R www-data:www-data /var/www/html
|
chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libjpeg-turbo-dev \
|
libjpeg-turbo-dev \
|
||||||
|
tidyhtml-dev \
|
||||||
|
libsodium-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
oniguruma-dev \
|
oniguruma-dev \
|
||||||
imap-dev \
|
imap-dev \
|
||||||
@@ -18,7 +20,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins
|
# Install PHP Plugins
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-imap-ssl && \
|
docker-php-ext-configure imap --with-imap-ssl && \
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
exif \
|
exif \
|
||||||
@@ -30,6 +32,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
# Download, unzip and chmod of LimeSurvey
|
# Download, unzip and chmod of LimeSurvey
|
||||||
@@ -49,6 +53,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ RUN set -ex; \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
libtidy-dev \
|
||||||
|
libsodium-dev \
|
||||||
netcat \
|
netcat \
|
||||||
\
|
\
|
||||||
&& apt-get -y autoclean; apt-get -y autoremove; \
|
&& apt-get -y autoclean; apt-get -y autoremove; \
|
||||||
@@ -30,7 +32,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
# Install PHP Plugins and Configure PHP imap plugin
|
# Install PHP Plugins and Configure PHP imap plugin
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
docker-php-ext-configure gd && \
|
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr && \
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
|
||||||
docker-php-ext-install -j5 \
|
docker-php-ext-install -j5 \
|
||||||
exif \
|
exif \
|
||||||
@@ -42,6 +44,8 @@ RUN set -ex; \
|
|||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
pgsql \
|
pgsql \
|
||||||
|
sodium \
|
||||||
|
tidy \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
ENV LIMESURVEY_VERSION=$version
|
ENV LIMESURVEY_VERSION=$version
|
||||||
@@ -58,6 +62,7 @@ RUN set -ex; \
|
|||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
WORKDIR /var/www/html
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
|||||||
Reference in New Issue
Block a user