Unverified Commit 623ff66f authored by Shao Yu-Lung (Allen)'s avatar Shao Yu-Lung (Allen) Committed by GitHub
Browse files

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

* CI build no need CHANGE_SOURCE
* fix 'adduser: group 'www-data' in use' error
parent 5bf8be63
......@@ -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
......
......@@ -30,6 +30,9 @@ if [ -n "${PHP_VERSION}" ]; then
# memcached extension does not yet support PHP 7.3.
sed -i -- 's/PHP_FPM_INSTALL_MEMCACHED=true/PHP_FPM_INSTALL_MEMCACHED=false/g' .env
fi
sed -i -- 's/CHANGE_SOURCE=true/CHANGE_SOURCE=false/g' .env
cat .env
docker-compose build ${BUILD_SERVICE}
docker images
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment