Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion php/5.6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM php:5.6-fpm

LABEL maintainer="Abhijit Rakas <abhijitrakas@gmail.com>"
LABEL maintainer="Riddhesh Sanghvi <[email protected]>, Devarshi Sathiya <devarshisathiya5@gmail.com>"
LABEL org.label-schema.schema-version="1.0.0-rc1"
LABEL org.label-schema.vendor="EasyEngine"
LABEL org.label-schema.name="php5.6"
Expand Down Expand Up @@ -77,6 +77,13 @@ RUN { \

RUN echo "mailhub=postfix\nUseTLS=NO\nFromLineOverride=YES" > /etc/ssmtp/ssmtp.conf

RUN mkdir -p /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
rm -f /etc/ssmtp/revaliases && \
ln -s /usr/local/etc/misc/msmtprc /etc/ssmtp/revaliases && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/ssmtp/revaliases

# Setup logs
RUN mkdir -p /var/log/php; \
chown -R www-data: /var/log/php; \
Expand Down
6 changes: 5 additions & 1 deletion php/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down
6 changes: 5 additions & 1 deletion php/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ RUN { \
echo 'path: /var/www/htdocs'; \
} > /etc/wp-cli/config.yml

RUN echo "host postfix\ntls off\nfrom [email protected]" > /etc/msmtprc
RUN mkdir /usr/local/etc/misc && \
touch /usr/local/etc/misc/msmtprc && \
ln -s /usr/local/etc/misc/msmtprc /etc/msmtprc && \
chown www-data:www-data /usr/local/etc/misc/msmtprc && \
chown www-data:www-data /etc/msmtprc

RUN latest_build=$(curl -s https://download.newrelic.com/php_agent/release/ | grep 'linux.tar.gz' | sed 's/.*"\(.*\)".*/\1/') && \
curl -L "https://download.newrelic.com$latest_build" | tar -C /tmp -zx && \
Expand Down