php-fpm debian image
This commit is contained in:
@@ -12,25 +12,6 @@ RUN set -ex; \
|
||||
rsync \
|
||||
unzip \
|
||||
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; \
|
||||
chown -R www-data:root /var/www; \
|
||||
chmod -R g=u /var/www
|
||||
@@ -100,8 +81,9 @@ RUN set -ex; \
|
||||
|
||||
COPY entrypoint.sh /
|
||||
RUN set -ex; \
|
||||
chmod 755 /entrypoint.sh
|
||||
|
||||
chmod 755 /entrypoint.sh ;\
|
||||
mkdir -p /run/php
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["php-fpm7.4"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user