php-fpm debian image
This commit is contained in:
@@ -12,25 +12,6 @@ RUN set -ex; \
|
|||||||
rsync \
|
rsync \
|
||||||
unzip \
|
unzip \
|
||||||
zip php-soap;\
|
zip php-soap;\
|
||||||
#debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
|
||||||
#docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
|
||||||
#docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
|
||||||
#docker-php-ext-configure intl; \
|
|
||||||
#docker-php-ext-configure zip --with-libzip; \
|
|
||||||
#docker-php-ext-install -j "$(nproc)" \
|
|
||||||
# calendar \
|
|
||||||
# gd \
|
|
||||||
# intl \
|
|
||||||
# ldap \
|
|
||||||
# mbstring \
|
|
||||||
# mysqli \
|
|
||||||
# pdo \
|
|
||||||
# pdo_mysql \
|
|
||||||
# pdo_pgsql \
|
|
||||||
# pgsql \
|
|
||||||
# soap \
|
|
||||||
# zip \
|
|
||||||
#; \
|
|
||||||
mkdir -p /var/www/documents; \
|
mkdir -p /var/www/documents; \
|
||||||
chown -R www-data:root /var/www; \
|
chown -R www-data:root /var/www; \
|
||||||
chmod -R g=u /var/www
|
chmod -R g=u /var/www
|
||||||
@@ -100,7 +81,8 @@ RUN set -ex; \
|
|||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
chmod 755 /entrypoint.sh
|
chmod 755 /entrypoint.sh ;\
|
||||||
|
mkdir -p /run/php
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["php-fpm7.4"]
|
CMD ["php-fpm7.4"]
|
||||||
|
|||||||
Reference in New Issue
Block a user