mirror of
https://github.com/daniviga/qgis3-cd-copr.git
synced 2025-07-29 09:33:45 +02:00
Update to Buildbot 1.2.0 and F28
This commit is contained in:
@@ -4,15 +4,15 @@ MAINTAINER Daniele Viganò <daniele@vigano.me>
|
||||
|
||||
RUN dnf install -y sudo findutils tar bzip2 git python3-pip mock copr-cli && \
|
||||
dnf clean all && \
|
||||
find /var/cache/dnf -type d -delete
|
||||
find /var/cache/dnf -type f -delete
|
||||
# Use a Twisted binary wheel to avoid too many dependencies
|
||||
RUN pip3 install https://daniele.vigano.me/files/pypi/Twisted-17.9.0-cp36-cp36m-manylinux1_x86_64.whl \
|
||||
buildbot-worker
|
||||
buildbot-worker==1.2.0
|
||||
|
||||
RUN useradd -u 1000 builder && \
|
||||
usermod -a -G mock builder
|
||||
|
||||
RUN echo "builder ALL=(ALL) NOPASSWD: /usr/bin/dnf" >> /etc/sudoers
|
||||
RUN echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
|
||||
USER builder
|
||||
ENV HOME /home/builder
|
||||
|
@@ -1,27 +1,27 @@
|
||||
# vi:syntax=dockerfile
|
||||
FROM registry.fedoraproject.org/fedora:26
|
||||
FROM registry.fedoraproject.org/fedora:28
|
||||
MAINTAINER Daniele Viganò <daniele@vigano.me>
|
||||
|
||||
RUN dnf install -y sudo findutils tar bzip2 git python3-pip mock copr-cli && \
|
||||
dnf clean all && \
|
||||
find /var/cache/dnf -type d -delete
|
||||
find /var/cache/dnf -type f -delete
|
||||
# Use a Twisted binary wheel to avoid too many dependencies
|
||||
RUN pip3 install https://daniele.vigano.me/files/pypi/Twisted-17.9.0-cp36-cp36m-manylinux1_x86_64.whl \
|
||||
buildbot-worker
|
||||
buildbot-worker==1.2.0
|
||||
|
||||
RUN useradd -u 1000 builder && \
|
||||
usermod -a -G mock builder
|
||||
|
||||
RUN echo "builder ALL=(ALL) NOPASSWD: /usr/bin/dnf" >> /etc/sudoers
|
||||
RUN echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
|
||||
USER builder
|
||||
ENV HOME /home/builder
|
||||
WORKDIR ${HOME}
|
||||
|
||||
RUN buildbot-worker create-worker $HOME 172.17.0.1 f26 work3rP@ss! && \
|
||||
RUN buildbot-worker create-worker $HOME 172.17.0.1 f28 work3rP@ss! && \
|
||||
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
|
||||
echo "Docker running Fedora 26 (x86_64)" > info/host
|
||||
echo "Docker running Fedora 28 (x86_64)" > info/host
|
||||
|
||||
COPY copr $HOME/.config/copr
|
||||
ENTRYPOINT ["/usr/bin/buildbot-worker"]
|
||||
ENTRYPOINT ["/usr/local/bin/buildbot-worker"]
|
||||
CMD ["start", "--nodaemon"]
|
Reference in New Issue
Block a user