File tree 4 files changed +9
-6
lines changed
4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN apt-get install -y \
25
25
less \
26
26
libapache2-mod-php \
27
27
mariadb-client \
28
- php 8 .2 \
28
+ php8 .2 \
29
29
php8.2-mbstring \
30
30
php8.2-mysql \
31
31
php8.2-pdo \
@@ -94,7 +94,8 @@ RUN chown -R www-data:www-data /var/www/index
94
94
# Use WP-CLI to intall WordPress
95
95
USER www-data
96
96
WORKDIR /var/www/index
97
- RUN wp core download
97
+ ARG WP_VERSION
98
+ RUN wp core download --version=$WP_VERSION
98
99
99
100
# Add WordPress basic configuration
100
101
# 1) Download wp-config-docker.php for use as wp-config.php. Friendly view at:
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ Also see [`.env.example`](.env.example).
173
173
174
174
| Name | Version |
175
175
| -------------------------------------------------------- | -------- |
176
- | [Advanced Custom Fields][adv-custom-fields] | `6.2.7 ` |
176
+ | [Advanced Custom Fields][adv-custom-fields] | `6.2.1 ` |
177
177
| [Advanced Custom Fields: Menu Chooser][acf-menu-chooser] | `1.1.0` |
178
178
| [Classic Editor][classic-editor] | `1.6.3` |
179
179
| [Monster Insights Google Analytics][monster-insights] | `8.19` |
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ services:
13
13
container_name : index-web
14
14
depends_on :
15
15
- index-db
16
- build : .
16
+ build :
17
+ args :
18
+ WP_VERSION : ${WP_VERSION}
19
+ context : .
17
20
networks :
18
21
- index-backend
19
22
environment :
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ classic-editor
47
47
redirection
48
48
tablepress
49
49
wordpress-importer
50
- wordpress-seo
51
- '
50
+ wordpress-seo'
52
51
53
52
WP_USER=" www-data"
54
53
You can’t perform that action at this time.
0 commit comments