Page MenuHomePhabricator

raw-paste-data.txt

Authored By
stwalkerster
Aug 20 2020, 10:00 PM
Size
1 KB
Referenced Files
None
Subscribers
None

raw-paste-data.txt

FROM php:7.4-apache
RUN true \
&& apt-get update \
&& apt-get install --yes --no-install-recommends wget \
&& true
RUN true \
&& wget -O /usr/local/bin/install-php-extensions https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions \
&& sed -i -r \
-e 's@docker-php-ext-configure ldap --with-libdir=lib/\$\(gcc -dumpmachine\)@docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine) --with-ldap-sasl@' \
-e 's@buildRequiredPackageLists_volatile="\$buildRequiredPackageLists_volatile libldap2-dev"@buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libldap2-dev libsasl2-dev"@' \
/usr/local/bin/install-php-extensions \
&& ln -s /usr/include/sasl/sasl.h /usr/lib/$(gcc -dumpmachine)/sasl.h \
&& true
RUN true \
&& chmod +x /usr/local/bin/install-php-extensions \
&& install-php-extensions gettext ldap opcache \
&& true
RUN true \
&& wget https://github.com/leenooks/phpLDAPadmin/archive/1.2.5.tar.gz \
&& tar xf 1.2.5.tar.gz --strip 1 \
&& rm 1.2.5.tar.gz \
&& true
RUN true \
&& apt-get remove --yes wget \
&& rm -rf /var/lib/apt/lists/* \
&& rm /usr/local/bin/install-php-extensions \
&& true
RUN true \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&& true
VOLUME /var/www/html/config

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
223556
Default Alt Text
raw-paste-data.txt (1 KB)

Event Timeline