From cbe8d919dd59fc32627aea55b23581ddc8136ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Thu, 26 Oct 2017 13:35:37 +0200 Subject: [PATCH] Make Dockerfile more efficient --- docker/Dockerfile.f26 | 3 +-- docker/Dockerfile.f27 | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.f26 b/docker/Dockerfile.f26 index e1721b0..2e4fcad 100644 --- a/docker/Dockerfile.f26 +++ b/docker/Dockerfile.f26 @@ -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Ă² " > info/admin && \ echo "Docker running Fedora 26 (x86_64)" > info/host +COPY copr $HOME/.config/copr ENTRYPOINT ["/usr/bin/buildbot-worker"] CMD ["start", "--nodaemon"] diff --git a/docker/Dockerfile.f27 b/docker/Dockerfile.f27 index 0dbfa74..1408092 100644 --- a/docker/Dockerfile.f27 +++ b/docker/Dockerfile.f27 @@ -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Ă² " > 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"]