Sign inSign up

developertown/vsts-agent-ruby

By developertown

Updated almost 10 years ago

VSTS Agent for Ruby-based builds

Image
0

1.1K

developertown/vsts-agent-ruby repository overview

Containerized VSTS Agent for Ruby builds

This image is a Ruby-specific build agent for Visual Studio Team Services, extending the related parent image.

Included:

  • rbenv
    • ruby 2.3.1
      • bundler
      • rubocop

How to use this image

Note: It is highly recommended to use the version-specific tagged images instead of latest, as they will track along with VSTS agent releases.

The following environment variables are required:

  • VSTS_URL: The complete URL to your VSTS environment. For example, https://mycompany.visualstudio.com.
  • VSTS_AGENT_NAME: The name the agent should register itself as in VSTS. Note: This image is configured to "--replace" any existing agent by the same name, so these should be unique.
  • VSTS_PAT_TOKEN: The PAT token the agent should use to authenticate.

By default, the agent will join the Default pool. You may optionally supply:

  • VSTS_POOL: The pool the agent should join.

Example

docker run --name vsts_ruby_agent1 -d -e VSTS_URL=https://mycompany.visualstudio.com -e VSTS_PAT_TOKEN=asdfasdfgobbledygook2512341234 -e VSTS_AGENT_NAME=ruby_agent1 developertown/vsts-agent-ruby:2.102.0

Tag summary

Content type

Image

Digest

Size

463.8 MB

Last updated

almost 10 years ago

docker pull developertown/vsts-agent-ruby