diff --git a/php/5.6/Dockerfile b/php/5.6/Dockerfile index abbee02..2e2ba22 100644 --- a/php/5.6/Dockerfile +++ b/php/5.6/Dockerfile @@ -23,6 +23,7 @@ RUN set -ex; \ libzip-dev \ mysql-client \ ssmtp \ + tmux \ unzip \ vim \ zip @@ -97,6 +98,7 @@ COPY bashrc /var/www/.bashrc COPY docker-entrypoint.sh /usr/local/bin/ WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/7.0/Dockerfile b/php/7.0/Dockerfile index c3c0ae6..1d6e2f9 100644 --- a/php/7.0/Dockerfile +++ b/php/7.0/Dockerfile @@ -25,6 +25,7 @@ RUN set -ex; \ libssl-dev \ libicu-dev \ libwebp-dev \ + tmux \ unzip \ vim \ zip @@ -107,6 +108,7 @@ COPY docker-entrypoint.sh /usr/local/bin/ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/7.2/Dockerfile b/php/7.2/Dockerfile index 7557c6b..aadb6d2 100644 --- a/php/7.2/Dockerfile +++ b/php/7.2/Dockerfile @@ -25,6 +25,7 @@ RUN set -ex; \ libssl-dev \ libicu-dev \ libwebp-dev \ + tmux \ unzip \ vim \ zip @@ -116,6 +117,7 @@ COPY docker-entrypoint.sh /usr/local/bin/ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/7.3/Dockerfile b/php/7.3/Dockerfile index 7082cd5..87531ed 100644 --- a/php/7.3/Dockerfile +++ b/php/7.3/Dockerfile @@ -27,6 +27,7 @@ RUN set -ex; \ libgmp-dev \ libicu-dev \ libwebp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY docker-entrypoint.sh /usr/local/bin/ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/7.4/Dockerfile b/php/7.4/Dockerfile index b4ec0bd..0d749c9 100644 --- a/php/7.4/Dockerfile +++ b/php/7.4/Dockerfile @@ -26,6 +26,7 @@ RUN set -ex; \ libzip-dev \ libssl-dev \ libgmp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini COPY newrelic.ini /data/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/8.0/Dockerfile b/php/8.0/Dockerfile index 9162b35..986c940 100644 --- a/php/8.0/Dockerfile +++ b/php/8.0/Dockerfile @@ -26,6 +26,7 @@ RUN set -ex; \ libzip-dev \ libssl-dev \ libgmp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini COPY newrelic.ini /data/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/8.1/Dockerfile b/php/8.1/Dockerfile index a03e393..c866518 100644 --- a/php/8.1/Dockerfile +++ b/php/8.1/Dockerfile @@ -26,6 +26,7 @@ RUN set -ex; \ libzip-dev \ libssl-dev \ libgmp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini COPY newrelic.ini /data/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/8.2/Dockerfile b/php/8.2/Dockerfile index 5afe440..cd851c4 100644 --- a/php/8.2/Dockerfile +++ b/php/8.2/Dockerfile @@ -26,6 +26,7 @@ RUN set -ex; \ libzip-dev \ libssl-dev \ libgmp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini COPY newrelic.ini /data/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/php/8.3/Dockerfile b/php/8.3/Dockerfile index 12cceb2..183a6db 100644 --- a/php/8.3/Dockerfile +++ b/php/8.3/Dockerfile @@ -26,6 +26,7 @@ RUN set -ex; \ libzip-dev \ libssl-dev \ libgmp-dev \ + tmux \ unzip \ vim \ zip @@ -120,6 +121,7 @@ COPY newrelic.ini /usr/local/etc/php/conf.d/newrelic.ini COPY newrelic.ini /data/newrelic.ini WORKDIR /var/www/htdocs +RUN usermod -s /bin/bash www-data USER www-data ENTRYPOINT ["docker-entrypoint.sh"]