Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 760 Bytes
FROM fedora:25
RUN dnf makecache && dnf install -y \
python3-pip \
python3-virtualenv \
git-core \
gcc \
redhat-rpm-config \
openssl-devel \
libffi-devel
ARG ZUUL_VER=feature/zuulv3
ARG ZUUL_REPO=https://github.com/openstack-infra/zuul.git
RUN git clone ${ZUUL_REPO} --branch ${ZUUL_VER}
RUN py3-virtualenv /srv/zuul
RUN /srv/zuul/bin/pip install git+https://github.com/sigmavirus24/github3.py.git@8e9ca0056b8fed956b66dafb5398757cd8d8bed9#egg=Github3.py
RUN /srv/zuul/bin/pip install -e ./zuul
RUN mkdir \
/etc/zuul/ \
/var/lib/zuul
RUN useradd -u 1000 zuul
RUN chown -R zuul:zuul \
/var/lib/zuul
COPY root/etc/zuul/tenant.yaml /etc/zuul/tenant.yaml
RUN chown zuul:zuul /etc/zuul/tenant.yaml
CMD /bin/bash
USER zuul