Add zuul user to container
To match the Zuul service containers, add a zuul user inside this container so that it may more easily run as a non-root user. Change-Id: Id1b65ac327082c14dc635497b4666ae69ab9c2f7
This commit is contained in:
parent
98e92bdd46
commit
d7fbbf8bd9
@ -6,7 +6,8 @@ RUN assemble
|
||||
FROM docker.io/opendevorg/uwsgi-base as zuul-storage-proxy
|
||||
|
||||
COPY --from=builder /output/ /output
|
||||
RUN /output/install-from-bindep
|
||||
RUN /output/install-from-bindep \
|
||||
&& useradd -u 10001 -m -d /var/lib/zuul -c "Zuul Daemon" zuul
|
||||
|
||||
EXPOSE 8000
|
||||
ENV UWSGI_HTTP_SOCKET=:8000 UWSGI_PROCESSES=10 UWSGI_THREADS=1
|
||||
|
Loading…
Reference in New Issue
Block a user