Fix ci build failed and nginx adduser error (#2165)

* CI build no need CHANGE_SOURCE
* fix 'adduser: group 'www-data' in use' error
This commit is contained in:
Shao Yu-Lung (Allen)
2019-06-06 12:25:25 +08:00
committed by GitHub
parent 5bf8be6303
commit 623ff66f40
2 changed files with 4 additions and 2 deletions

View File

@ -16,8 +16,7 @@ RUN apk update \
&& apk upgrade \
&& apk --update add logrotate \
&& apk add --no-cache openssl \
&& apk add --no-cache bash \
&& adduser -D -H -u 1000 -s /bin/bash www-data
&& apk add --no-cache bash
ARG PHP_UPSTREAM_CONTAINER=php-fpm
ARG PHP_UPSTREAM_PORT=9000