For xenial download buildbot_entrypoint.sh only if it's missing
This commit is contained in:
parent
d0ac191f52
commit
8eef0e0b5d
|
@ -84,7 +84,7 @@ RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.
|
||||||
RUN dpkg -i dumb-init_*.deb && rm -f dumb-init_*.deb
|
RUN dpkg -i dumb-init_*.deb && rm -f dumb-init_*.deb
|
||||||
|
|
||||||
# buildbot entrypoint
|
# buildbot entrypoint
|
||||||
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/xenial/entrypoint.sh
|
RUN [ -f /usr/local/bin/buildbot_entrypoint.sh ] || wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/xenial/entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
||||||
|
|
||||||
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user