Semaphore CI/CD jobs can be run inside Docker images. This allows you to define a custom build environment with pre-installed tools and dependencies needed for your project. To allow fast bootstrapping of custom environments, Semaphore comes with a set of pre-built convenience images. This repository contains pre-built convenience images for golang. It comes with a set of pre-installed development tools and utilities commonly needed in CI/CD environments. The following is installed:
A fully customized Docker image is always the most optimal way to set up a build environment. If you don't want to build your own fully customized image yet, the convenience images are a good first choice for your project.
To use the images in this repository for your CI/CD pipelines, set up your Semaphore YAML with:
version: v1.0
name: Hello golang
agent:
machine:
type: e1-standard-2
containers:
- name: main
image: semaphoreci/golang:version
blocks:
- name: "Hello"
task:
jobs:
- name: Hello
commands:
- checkout
- echo "Hello"
Detailed examples and documentation about setting up a CI/CD environment with Docker is covered in Custom CI/CD environment with Docker documentation page.
The TEHNOLOGY image comes in several flavours.
golang:version is the basic image that comes with development utilities and is
an optimal first choice for golang.golang:version-browsers is the extension of the basic image with an addition of
Firefox and Chrome/chromedriver useful for running browser based CI/CD pipelines.If you have any problems with this image, please contact us over email ([email protected]).
Content type
Image
Digest
Size
1023.2 MB
Last updated
almost 6 years ago
docker pull semaphoreci/golang:1.14-stretch-node-browsers