Skip to content
GoCD Agent Docker image
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
CHANGELOG.md Update changelog Nov 23, 2018
Dockerfile.erb Set locale environment variables Jan 4, 2019
LICENSE-2.0.txt
README.md Add Alpine 3.9 based GoCD docker agent image Feb 11, 2019
README.md.erb Fix the readme template to not show some sections for the dind image. Dec 13, 2018
Rakefile Install jre from adoptopenjdk. Apr 2, 2019
agent-bootstrapper-logback-include.xml Bump copyright dates Aug 28, 2018
agent-launcher-logback-include.xml Bump copyright dates Aug 28, 2018
agent-logback-include.xml Bump copyright dates Aug 28, 2018
docker-entrypoint.sh.erb

README.md

GoCD Agent Docker image

This repository is the parent repository for the following docker images

Usage

The build process uses the Rakefile to build different tasks. There are three tasks that you could build: all images, specific image, and publish the docker images.

The URL for environment variable GOCD_AGENT_DOWNLOAD_URL is under the Zip tab from this download webpage.

1. Building all images

GOCD_VERSION=X.Y.Z \
GOCD_AGENT_DOWNLOAD_URL=https://download.gocd.io/binaries/X.Y.Z-PPPP/generic/go-agent-X.Y.Z-PPPP.zip \
rake build_image [--trace]

2. Building a specific image

List all targets

GOCD_VERSION=X.Y.Z \
GOCD_AGENT_DOWNLOAD_URL=https://download.gocd.io/binaries/X.Y.Z-PPPP/generic/go-agent-X.Y.Z-PPPP.zip \
rake -T build_image

Build a specific image, ubuntu 16.04, gocd version 17.3.0

GOCD_VERSION=17.3.0 \
GOCD_AGENT_DOWNLOAD_URL=https://download.gocd.io/binaries/17.3.0-4704/generic/go-agent-17.3.0-4704.zip \
rake gocd-agent-ubuntu-16.04:build_image

3. Publishing all docker images

GOCD_VERSION=X.Y.Z GOCD_AGENT_DOWNLOAD_URL=https://download.gocd.io/binaries/X.Y.Z-PPPP/generic/go-agent-X.Y.Z-PPPP.zip
rake publish [--trace]

Note: Image will be removed from machine post push. To disable auto cleanup add env CLEAN_IMAGES=false

License

Copyright 2018 ThoughtWorks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You can’t perform that action at this time.