jlsjonas / Docker-TeamCity-Agent-Nodejs

Based on the official TeamCity Agent image with Nodejs added on top

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-TeamCity-Agent-Nodejs

Docker Pulls Docker Stars

Based on the official TeamCity Agent image with Nodejs LTS (10.x) added on top.

This image will automatically be updated when the official base image gets updated.

Based on: https://hub.docker.com/r/jetbrains/teamcity-agent/

Build

docker build -t tc-agent-nodejs .

Example command for running

This will start it up with docker build support and remove the container when you exit.

Remember to replace Server address that will point it to your TeamCity server.

docker run -it -e SERVER_URL="<Server address>" --privileged -e DOCKER_IN_DOCKER=start -e DOCKER_OPTS="--insecure-registry 10.0.0.10:5000 --insecure-registry http://10.0.0.10:5000" -e AGENT_NAME="DockerNodejs-Agent" --name tc-agent-nodejs --rm tc-agent-nodejs

Note: The two --insecure-registry Is only needed if communicating with a insecure registry.

a Linux container:

docker run -it -e SERVER_URL="<url>"  \ 
    -v <path>:/data/teamcity_agent/conf  \      
    fluid/teamcity-agent-nodejs

or a Windows container:

docker run -it -e SERVER_URL="<url>"
    -v <path>:C:/BuildAgent/conf
    fluid/teamcity-agent-nodejs

About

Based on the official TeamCity Agent image with Nodejs added on top

License:MIT License


Languages

Language:Dockerfile 70.9%Language:Shell 29.1%