af7d1154ff
OpenDev is moving images to quay.io. This change updates zuul-storage-proxy's use of those images to match. The depends on will ensure we don't merge this before the move has occurred. Depends-On: https://review.opendev.org/c/opendev/system-config/+/881932 Change-Id: Ic25d8d95f79a0172178b9ba09da6c3ad3f8d4018
15 lines
439 B
Docker
15 lines
439 B
Docker
FROM quay.io/opendevorg/python-builder as builder
|
|
|
|
COPY . /tmp/src
|
|
RUN assemble
|
|
|
|
FROM quay.io/opendevorg/uwsgi-base as zuul-storage-proxy
|
|
|
|
COPY --from=builder /output/ /output
|
|
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 MOUNTPOINT=/
|
|
CMD uwsgi --mount $MOUNTPOINT=zuul_storage_proxy:proxy --manage-script-name
|