Skip to content

Commit

Permalink
Merge branch 'release/2.4.25' into craft-webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Feb 10, 2021
2 parents 415f0c8 + accf70f commit fc85678
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# nystudio107/craft Change Log

## 2.4.25 - 2021.02.09
### Added
* Use PHP 8.0 Alpine images for the prod & dev containers

### Changed
* Ensure that the `cms/config` directory has the right permissions

### Fixed
* Updated `buddy.yaml` to match with Alpine update

## 2.4.24 - 2021.02.03
### Fixed
* Fixed an issue with favicon generation caused by changes in `favicons-webpack-plugin`
Expand Down
2 changes: 1 addition & 1 deletion buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- "composer install --no-dev --no-progress --no-scripts --no-interaction --prefer-dist --optimize-autoloader --ignore-platform-reqs"
setup_commands:
- "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
- "apt-get update && apt-get install -y git zip"
- "apk update && apk add git zip"
- "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
- "# php ext pdo_mysql"
- "docker-php-ext-install pdo_pgsql pgsql"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "craftcms/craft",
"description": "nystudio107 Craft 3.4 CMS scaffolding project",
"version": "2.4.24",
"version": "2.4.25",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion docker-config/php-dev-craft/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nystudio107/php-dev-base:7.4-alpine
FROM nystudio107/php-dev-base:8.0-alpine

# dependencies required for running "phpize"
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
Expand Down
6 changes: 4 additions & 2 deletions docker-config/php-prod-craft/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nystudio107/php-prod-base:7.4-alpine
FROM nystudio107/php-prod-base:8.0-alpine

# dependencies required for running "phpize"
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
Expand Down Expand Up @@ -73,10 +73,12 @@ WORKDIR /var/www/project/cms
# when working with teams or multiple environments
CMD composer install --verbose --no-progress --no-scripts --optimize-autoloader --no-interaction \
&& \
chown -R www-data:www-data /var/www/project/cms/vendor \
chown -R www-data:www-data /var/www/project/cms/config \
&& \
chown -R www-data:www-data /var/www/project/cms/storage \
&& \
chown -R www-data:www-data /var/www/project/cms/vendor \
&& \
chown -R www-data:www-data /var/www/project/cms/web \
&& \
composer craft-update \
Expand Down

0 comments on commit fc85678

Please sign in to comment.