Add build image for the GitLab Operator

Adds a new Dockerfile which installs dependencies used in the GitLab
Operator pipeline.
This commit is contained in:
Mitchell Nielsen 2020-10-14 23:26:50 +00:00 committed by Stan Hu
parent 38acdfcd9a
commit d0fa65332c
2 changed files with 12 additions and 0 deletions

View file

@ -120,6 +120,8 @@ gitlab-docs test: *test_build
gitlab-docs-lint test: *test_build
# Used by go projects for linting https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/go_guide/index.md#automatic-linting
golangci-lint-alpine test: *test_build
# Used by gitlab-operator: https://gitlab.com/gitlab-org/gl-openshift/gitlab-operator
gitlab-operator-build-base test: *test_build
# Builds
@ -186,6 +188,8 @@ gitlab-docs: *build_and_deploy
gitlab-docs-lint: *build_and_deploy
# Used by go projects for linting https://gitlab.com/gitlab-org/gitlab/blob/master/doc/development/go_guide/index.md#automatic-linting
golangci-lint-alpine: *build_and_deploy
# Used by gitlab-operator: https://gitlab.com/gitlab-org/gl-openshift/gitlab-operator
gitlab-operator-build-base: *build_and_deploy
cache-google-chrome:
stage: automation

View file

@ -0,0 +1,8 @@
FROM golang:1.14
LABEL maintainer="GitLab Distribution Team" \
description="Build base image for the GitLab Operator project."
# Install dependencies
RUN go get -u \
github.com/onsi/ginkgo/ginkgo \
golang.org/x/lint/golint