e703a856cb
Now builds will not be dropped on cluster upgrades. That requires container updates.
15 lines
No EOL
686 B
Docker
15 lines
No EOL
686 B
Docker
FROM gcr.io/llvm-premerge-checks/base-debian:latest
|
|
|
|
RUN echo 'install buildkite' ;\
|
|
apt-get install -y apt-transport-https gnupg;\
|
|
sh -c 'echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list' ;\
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 ;\
|
|
apt-get update ;\
|
|
apt-get install -y buildkite-agent tini; \
|
|
apt-get clean;
|
|
COPY *.sh /usr/local/bin/
|
|
RUN chmod og+rx /usr/local/bin/*.sh
|
|
COPY --chown=buildkite-agent:buildkite-agent pre-checkout /etc/buildkite-agent/hooks
|
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
CMD ["buildkite-agent", "start", "--no-color"] |