Public Repository

Last pushed: 2 years ago
Short Description
A TeamCity agent for building projects with steps requiring NodeJS to be installed.
Full Description
# docker run -e TEAMCITY_SERVER=http://buildserver:8111 -dt -p 9090:9090
FROM trurating/teamcity-agent

MAINTAINER Andrew Douglas <>

# Install node.js build repository
RUN apt-get update && apt-get install -y curl unzip wget && apt-get clean && rm -rf /var/lib/apt/lists
RUN curl -sL | sudo -E bash -

# Install node.js environment
RUN apt-get update && apt-get install -y nodejs && apt-get clean && rm -rf /var/lib/apt/lists
RUN npm cache clean -f && \
    npm install -g n && \
    n stable

# Install build essentials
RUN apt-get update && apt-get install -y build-essential && apt-get clean && rm -rf /var/lib/apt/lists

# Use a local Sinopia registry to cache npm packages
CMD npm set registry http://sinopia:4873/ && sudo -E -u teamcity /
Docker Pull Command