docker: add state folder
Most configuration options depend on storing state data inside the /var/lib/zuul path which does not exist by default, causing a lot of configurations to not work out of the box. This patch creates the folder in the zuul base image, which will reduce the number of options to be moved around to store state. Change-Id: I22d05ca26324ffc02cd0b8d2a3059247a21ffdd9
This commit is contained in:
parent
d60346181b
commit
2a36eea341
|
@ -35,6 +35,7 @@ RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/s
|
|||
RUN /output/install-from-bindep \
|
||||
&& pip install --cache-dir=/output/wheels -r /output/zuul_base/requirements.txt \
|
||||
&& rm -rf /output
|
||||
VOLUME /var/lib/zuul
|
||||
CMD ["/usr/local/bin/zuul"]
|
||||
|
||||
FROM zuul as zuul-executor
|
||||
|
|
Loading…
Reference in New Issue