docker: nginx install changed in alpine
This commit is contained in:
parent
528b649012
commit
cb469a2bc7
3 changed files with 10 additions and 5 deletions
|
|
@ -57,8 +57,8 @@ RUN mkdir /clixon/clixon
|
|||
WORKDIR /clixon/clixon
|
||||
COPY clixon .
|
||||
|
||||
# Need to add www user manually
|
||||
RUN adduser -D -H www-data
|
||||
# Need to add www user manually, but group www-data already exists on Alpine
|
||||
RUN adduser -D -H -G www-data www-data
|
||||
# nginx adds group www-data
|
||||
RUN apk add --update nginx
|
||||
|
||||
|
|
@ -97,8 +97,8 @@ MAINTAINER Olof Hagsand <olof@hagsand.se>
|
|||
# For clixon and cligen
|
||||
RUN apk add --update flex bison fcgi-dev
|
||||
|
||||
# need to add www user manually
|
||||
RUN adduser -D -H www-data
|
||||
# Need to add www user manually, but group www-data already exists on Alpine
|
||||
RUN adduser -D -H -G www-data www-data
|
||||
# nginx adds group www-data
|
||||
RUN apk add --update nginx
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue