File: Dockerfile

package info (click to toggle)
buildbot 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,080 kB
  • sloc: python: 174,183; sh: 1,204; makefile: 332; javascript: 119; xml: 16
file content (21 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (2)
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