# Use the published buildbot/buildbot-master image as the base FROM buildbot/buildbot-master:master # Install buildbot-prometheus in the existing virtual environment RUN /buildbot_venv/bin/pip3 install buildbot-prometheus # Set the working directory to where the buildbot files are expected WORKDIR /buildbot # Keep the existing command to start buildbot CMD ["dumb-init", "/usr/src/buildbot/start_buildbot.sh"]