Skip to content

Commit

Permalink
Merge pull request #90 from duboiss/bugfix/www-data
Browse files Browse the repository at this point in the history
  • Loading branch information
ajardin authored Jul 28, 2023
2 parents 8020dc0 + 2fac0da commit c2f23f5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions php/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ RUN \
usermod -u 1000 www-data && \
groupmod -g 1000 www-data

# Give www-data permissions to its home folder
RUN chown www-data:www-data /var/www

# Installs the "netz98/n98-magerun2" package
RUN \
curl -sS https://files.magerun.net/n98-magerun2.phar --output /usr/local/bin/magerun2 && \
Expand Down
3 changes: 3 additions & 0 deletions php/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ RUN \
perl -pi -e "s|;pm.status_path = /status|pm.status_path = /php_fpm_status|g" /usr/local/etc/php-fpm.d/www.conf && \
perl -pi -e "s/mailhub=mail/mailhub=maildev/" /etc/ssmtp/ssmtp.conf

# Give www-data permissions to its home folder
RUN chown www-data:www-data /var/www

# Installs the JavaScript dependencies
RUN \
curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && \
Expand Down
3 changes: 3 additions & 0 deletions php/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ RUN \
usermod -u 1000 www-data && \
groupmod -g 1000 www-data

# Give www-data permissions to its home folder
RUN chown www-data:www-data /var/www

# Installs the "netz98/n98-magerun2" package
RUN \
curl -sS https://files.magerun.net/n98-magerun2.phar --output /usr/local/bin/magerun2 && \
Expand Down
3 changes: 3 additions & 0 deletions php/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ RUN \
usermod -u 1000 www-data && \
groupmod -g 1000 www-data

# Give www-data permissions to its home folder
RUN chown www-data:www-data /var/www

# Installs the "netz98/n98-magerun2" package
RUN \
curl -sS https://files.magerun.net/n98-magerun2.phar --output /usr/local/bin/magerun2 && \
Expand Down
3 changes: 3 additions & 0 deletions php/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ RUN \
usermod -u 1000 www-data && \
groupmod -g 1000 www-data

# Give www-data permissions to its home folder
RUN chown www-data:www-data /var/www

# Installs the "netz98/n98-magerun2" package
RUN \
curl -sS https://files.magerun.net/n98-magerun2.phar --output /usr/local/bin/magerun2 && \
Expand Down

0 comments on commit c2f23f5

Please sign in to comment.