1
0
mirror of https://github.com/daniviga/qgis3-cd-copr.git synced 2024-11-23 01:46:13 +01:00

Make Dockerfile more efficient

This commit is contained in:
Daniele Viganò 2017-10-26 13:35:37 +02:00
parent 9f179a6e69
commit cbe8d919dd
2 changed files with 2 additions and 4 deletions

View File

@ -17,11 +17,10 @@ USER builder
ENV HOME /home/builder
WORKDIR ${HOME}
COPY copr $HOME/.config/copr
RUN buildbot-worker create-worker $HOME 172.17.0.1 f26 work3rP@ss! && \
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
echo "Docker running Fedora 26 (x86_64)" > info/host
COPY copr $HOME/.config/copr
ENTRYPOINT ["/usr/bin/buildbot-worker"]
CMD ["start", "--nodaemon"]

View File

@ -17,11 +17,10 @@ USER builder
ENV HOME /home/builder
WORKDIR ${HOME}
COPY copr $HOME/.config/copr
RUN buildbot-worker create-worker $HOME 172.17.0.1 f27 work3rP@ss! && \
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
echo "Docker running Fedora 27 (x86_64)" > info/host
COPY copr $HOME/.config/copr
ENTRYPOINT ["/usr/local/bin/buildbot-worker"]
CMD ["start", "--nodaemon"]