File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,8 @@ services:
15
15
- wp_server
16
16
17
17
wp_server :
18
- build :
19
- context : ./docker-images/php/
20
- args :
21
- UID : ${UID}
18
+ build : ./docker-images/php/
19
+ user : ${UID}:www-data
22
20
container_name : wp_server
23
21
volumes :
24
22
- ./www/wp_files/:/www
Original file line number Diff line number Diff line change @@ -74,17 +74,11 @@ wp --allow-root --version
74
74
# Maybe on the command gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$WORDPRESS_CLI_GPG_KEY"; \ you will
75
75
# have an error, an issue opened in https://github.com/asdf-vm/asdf-nodejs/issues/38#issuecomment-298686787 suggest
76
76
# that use hkp://ipv4.pool.sks-keyservers.net:80 instead of ha.pool.sks-keyservers.net
77
- # NOT TESTED
78
77
79
78
# Install mysql client
80
79
RUN apk update \
81
80
apk add mysql-client
82
81
83
82
WORKDIR /www
84
83
85
- ENV PAGER more
86
-
87
- ARG UID
88
-
89
- RUN adduser -D -u "$UID" same_as_host -G www-data
90
- USER same_as_host
84
+ ENV PAGER more
You can’t perform that action at this time.
0 commit comments