/
DirectorySecurity AdvisoriesPricing
Sign inRequest a trial
Directory
gitlab-certificates logo

gitlab-certificates

Last changed

Request a free trial

Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.

Request trial
Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for gitlab

GitLab is a complete DevOps platform that provides source code management, CI/CD automation, and collaboration tools in a single application for the entire software development lifecycle.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/gitlab:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

The gitlab images are based on the upstream GitLab components and are compatible with the official GitLab Helm chart. These images provide all the GitLab components in minimal, secure container images built on Wolfi.

This image group includes the following components:

  • gitaly - Git repository storage service
  • gitlab-agent - GitLab Kubernetes Agent
  • gitlab-base - Base image with common GitLab functionality
  • gitlab-certificates - Certificate management for GitLab
  • gitlab-container-registry - GitLab's container registry
  • gitlab-exporter - Prometheus metrics exporter
  • gitlab-kas - GitLab Agent Server
  • gitlab-pages - GitLab Pages static site hosting
  • gitlab-runner - GitLab CI/CD runner
  • gitlab-runner-helper - Helper image for GitLab Runner
  • gitlab-shell - SSH access to Git repositories
  • gitlab-sidekiq-ce - Background job processing (Community Edition)
  • gitlab-toolbox-ce - Administrative toolbox (Community Edition)
  • gitlab-webservice-ce - Main GitLab web application (Community Edition)
  • gitlab-workhorse-ce - HTTP reverse proxy for GitLab (Community Edition)

These images maintain compatibility with the upstream GitLab components while providing enhanced security through minimal design and regular updates.

Getting Started

The gitlab images are designed to work together as a complete GitLab deployment using the official GitLab Helm chart. Here's how to configure your GitLab installation to use Chainguard Images:

cat > gitlab-values.yaml <<EOF
# Chainguard Images configuration for GitLab
global:
  gitlabBase:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-base
      tag: latest
  certificates:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-certificates  
      tag: latest
gitlab:
  gitlab-exporter:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-exporter
      tag: latest
  gitlab-shell:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-shell
      tag: latest
  gitaly:
    image:
      repository: cgr.dev/ORGANIZATION/gitaly
      tag: latest
  gitlab-pages:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-pages
      tag: latest
  kas:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-kas
      tag: latest
  sidekiq:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-sidekiq-ce
      tag: latest
  toolbox:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-toolbox-ce
      tag: latest
  webservice:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-webservice-ce
      tag: latest
  workhorse:
    image:
      repository: cgr.dev/ORGANIZATION/gitlab-workhorse-ce
      tag: latest
registry:
  image:
    repository: cgr.dev/ORGANIZATION/gitlab-container-registry
    tag: latest
gitlab-runner:
  runners:
    config: |
      [[runners]]
        [runners.kubernetes]
          helper_image = "cgr.dev/ORGANIZATION/gitlab-runner-helper:latest"
  image:
    registry: cgr.dev
    image: ORGANIZATION/gitlab-runner
    tag: latest
EOF

Install GitLab using the Helm chart with your values:

helm repo add gitlab https://charts.gitlab.io/
helm repo update
helm upgrade --install gitlab gitlab/gitlab \
  --namespace gitlab-system \
  --create-namespace \
  --values gitlab-values.yaml

For a development or testing environment, you can combine the above with these minimal settings:

# Additional minimal configuration for development
global:
  ingress:
    configureCertmanager: false
    tls:
      enabled: false
  gitlab:
    gitlab-shell:
      minReplicas: 1
      maxReplicas: 1
    webservice:
      minReplicas: 1
      maxReplicas: 1
    gitlab-pages:
      resources:
        requests:
          memory: 250M
          cpu: 50m
certmanager:
  install: false
registry:
  hpa:
    minReplicas: 1
    maxReplicas: 1
nginx-ingress:
  controller:
    replicaCount: 1
    minAvailable: 0
prometheus:
  install: false
minio:
  resources:
    requests:
      cpu: 100m
redis:
  resources:
    requests:
      cpu: 100m

Configuration

GitLab components can be configured through the Helm chart values or environment variables. Here are some common configuration scenarios:

SSH Configuration

For the gitlab-shell component, you can configure SSH ciphers and algorithms:

gitlab:
  gitlab-shell:
    config:
      ciphers: ["aes128-ctr", "aes192-ctr", "aes256-ctr"]
      kexAlgorithms: ["ecdh-sha2-nistp384", "ecdh-sha2-nistp521"] 
      macs: ["hmac-sha2-256", "hmac-sha2-512"]
      publicKeyAlgorithms: ["ssh-rsa", "ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521"]

GitLab Runner Configuration

Configure GitLab Runner with specific helper images:

gitlab-runner:
  runners:
    config: |
      [[runners]]
        name = "chainguard-runner"
        [runners.kubernetes]
          helper_image = "cgr.dev/ORGANIZATION/gitlab-runner-helper:latest"
          privileged = false

Resource Limits

Set appropriate resource limits for production environments:

gitlab:
  webservice:
    resources:
      requests:
        memory: "2Gi"
        cpu: "1000m"
      limits:
        memory: "4Gi"
        cpu: "2000m"

For complete configuration options, refer to the GitLab Helm chart values documentation.

Documentation and Resources

For more information about working with GitLab and Chainguard Images:

What are Chainguard Containers?

Chainguard Containers are minimal container images that are secure by default.

In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.

Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.

Learn More

To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.

In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • BSD-2-Clause

  • BSD-3-Clause

  • CC-PDDC

  • GCC-exception-3.1

  • GPL-2.0-or-later

  • GPL-3.0-or-later

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

A FIPS validated version of this image is available for FedRAMP compliance. STIG is included with FIPS image.


Related images
gitlab-certificates-fips logoFIPS
gitlab-certificates-fips

Category
application

Safe Source for Open Sourceâ„¢
Contact us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Products

Chainguard ContainersChainguard LibrariesChainguard VMs