Skip to content

Commit

Permalink
Set the WORKDIR in PHP images (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
pento authored Aug 13, 2019
1 parent f80edd5 commit 3e72a6d
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 22 deletions.
2 changes: 2 additions & 0 deletions 5.2/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM devilbox/php-fpm-5.2:latest

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 5.2/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 5.3/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM devilbox/php-fpm-5.3:latest

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 5.3/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 5.4/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:5.4-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 5.4/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 5.5/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:5.5-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 5.5/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 5.6/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:5.6-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 5.6/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 7.0/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:7.0-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 7.0/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 7.1/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:7.1-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 7.1/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 7.2/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:7.2-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 7.2/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 7.3/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:7.3-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 7.3/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 7.4/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM php:7.4-rc-fpm

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 7.4/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions 8.0/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM devilbox/php-fpm-8.0:latest

WORKDIR /var/www

##########################################################################
#
# WARNING: This file was generated by update.php. Do not edit it directly.
Expand Down
2 changes: 0 additions & 2 deletions 8.0/php/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,5 @@ else
rm -f /usr/local/etc/php/conf.d/docker-php-ext-memcached.ini
fi



# Execute CMD
exec "$@"
2 changes: 2 additions & 0 deletions Dockerfile-php.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM %%BASE_NAME%%

WORKDIR /var/www

%%GENERATED_WARNING%%

%%INSTALL_EXTENSIONS%%
Expand Down

0 comments on commit 3e72a6d

Please sign in to comment.