1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# buildbot/buildbot-worker-python-node
# This example docker file show how to customize the base worker docker image
# to add build dependencies to build the python+nodejs buildbot_www package
FROM buildbot/buildbot-worker:master
MAINTAINER Buildbot maintainers
# This will make apt-get install without question
ARG DEBIAN_FRONTEND=noninteractive
USER root
# Install required npm packages
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get update && apt-get install -y -o APT::Install-Recommends=false -o APT::Install-Suggests=false \
nodejs \
git && \
rm -rf /var/lib/apt/lists/*
USER buildbot
|