FROM uhub.service.ucloud.cn/pingcap/centos 

ADD bin/buildbot /buildbot
ADD conf/config.toml /config.toml
RUN mkdir /root/.docker
RUN yum -y install wget
ADD conf/config.json /root/.docker/config.json


CMD ["/bin/sh", "-c", "/buildbot -c /config.toml"]
