Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F324327
raw-paste-data.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
stwalkerster
Aug 20 2020, 10:00 PM
2020-08-20 22:00:03 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
raw-paste-data.txt
View Options
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
Details
Attached
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)
Attached To
Mode
P276 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment