Skip to content

Commit

Permalink
Merge pull request #200 from mrrobot47/add/tmux-to-php
Browse files Browse the repository at this point in the history
Add tmux to PHP images
  • Loading branch information
mrrobot47 authored Sep 13, 2024
2 parents b695efb + 12fb6c3 commit 7d53ed1
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions php/5.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN set -ex; \
libzip-dev \
mysql-client \
ssmtp \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN set -ex; \
libssl-dev \
libicu-dev \
libwebp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN set -ex; \
libssl-dev \
libicu-dev \
libwebp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN set -ex; \
libgmp-dev \
libicu-dev \
libwebp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
libzip-dev \
libssl-dev \
libgmp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
libzip-dev \
libssl-dev \
libgmp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
libzip-dev \
libssl-dev \
libgmp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
libzip-dev \
libssl-dev \
libgmp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions php/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN set -ex; \
libzip-dev \
libssl-dev \
libgmp-dev \
tmux \
unzip \
vim \
zip
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 7d53ed1

Please sign in to comment.