Skip to content

Commit

Permalink
Updated all the images with the permissional fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Llewellynvdm committed Jan 19, 2024
1 parent d90c4f6 commit 6407e1b
Show file tree
Hide file tree
Showing 18 changed files with 72 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 4.3/php8.1/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.3/php8.1/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.3/php8.1/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.3/php8.2/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.3/php8.2/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.3/php8.2/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.1/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.1/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.1/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.2/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.2/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 4.4/php8.2/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.1/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.1/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.1/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.2/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.2/fpm-alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down
4 changes: 4 additions & 0 deletions 5.0/php8.2/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then

# Check the exit status of the PHP command
if [ $? -eq 0 ]; then
# Set configuration to correct owner
chown "$user:$group" configuration.php
# Set configuration to correct permissions
chmod 444 configuration.php
# The PHP command succeeded (so we remove the installation folder)
rm -rf installation

Expand Down

0 comments on commit 6407e1b

Please sign in to comment.