This repository is the parent repository for the following docker images
- gocd/gocd-agent-alpine-3.6
- gocd/gocd-agent-alpine-3.7
- gocd/gocd-agent-alpine-3.8
- gocd/gocd-agent-centos-6
- gocd/gocd-agent-centos-7
- gocd/gocd-agent-debian-8
- gocd/gocd-agent-debian-9
- gocd/gocd-agent-docker-dind
- gocd/gocd-agent-ubuntu-14.04
- gocd/gocd-agent-ubuntu-16.04
- gocd/gocd-agent-ubuntu-18.04
- gocd/docker-gocd-agent-fedora-28
- gocd/docker-gocd-agent-fedora-29
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.
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]
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
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
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.