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:
parent
9f179a6e69
commit
cbe8d919dd
|
@ -17,11 +17,10 @@ USER builder
|
||||||
ENV HOME /home/builder
|
ENV HOME /home/builder
|
||||||
WORKDIR ${HOME}
|
WORKDIR ${HOME}
|
||||||
|
|
||||||
COPY copr $HOME/.config/copr
|
|
||||||
|
|
||||||
RUN buildbot-worker create-worker $HOME 172.17.0.1 f26 work3rP@ss! && \
|
RUN buildbot-worker create-worker $HOME 172.17.0.1 f26 work3rP@ss! && \
|
||||||
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
|
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
|
||||||
echo "Docker running Fedora 26 (x86_64)" > info/host
|
echo "Docker running Fedora 26 (x86_64)" > info/host
|
||||||
|
|
||||||
|
COPY copr $HOME/.config/copr
|
||||||
ENTRYPOINT ["/usr/bin/buildbot-worker"]
|
ENTRYPOINT ["/usr/bin/buildbot-worker"]
|
||||||
CMD ["start", "--nodaemon"]
|
CMD ["start", "--nodaemon"]
|
||||||
|
|
|
@ -17,11 +17,10 @@ USER builder
|
||||||
ENV HOME /home/builder
|
ENV HOME /home/builder
|
||||||
WORKDIR ${HOME}
|
WORKDIR ${HOME}
|
||||||
|
|
||||||
COPY copr $HOME/.config/copr
|
|
||||||
|
|
||||||
RUN buildbot-worker create-worker $HOME 172.17.0.1 f27 work3rP@ss! && \
|
RUN buildbot-worker create-worker $HOME 172.17.0.1 f27 work3rP@ss! && \
|
||||||
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
|
echo "Daniele Viganò <daniel@vigano.me>" > info/admin && \
|
||||||
echo "Docker running Fedora 27 (x86_64)" > info/host
|
echo "Docker running Fedora 27 (x86_64)" > info/host
|
||||||
|
|
||||||
|
COPY copr $HOME/.config/copr
|
||||||
ENTRYPOINT ["/usr/local/bin/buildbot-worker"]
|
ENTRYPOINT ["/usr/local/bin/buildbot-worker"]
|
||||||
CMD ["start", "--nodaemon"]
|
CMD ["start", "--nodaemon"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user