Skip to content

naizhao/gitlab-amd64

Repository files navigation

GitLab Docker Image for AMD x86_64

build-badge Docker Pulls

Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag) Docker Image Size (tag)

Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date) Docker Image Version (latest by date)

English | 简体中文

What is this?

In recent years, ARM servers have become more and more widely used. Due to their flexibility, small size, efficiency, and low price, ARM processors are a great choice for infrastructure.

Several top cloud vendors in the world have invested in ARM servers and launched ARM products, including Amazon AWS, Azure, Google Cloud, Oracle Cloud, Huawei Cloud, etc.

However, the official GitLab docker image does not provide amd64 version, which makes it difficult for ARM users to use GitLab. Actually, GitLab has provided amd64 version for a long time, it's just that the official docker image is not built for amd64.

This project is to build GitLab docker image for amd64 use GitLab's official dockerfile.

Upstream dockerfile: https://gitlab.com/gitlab-org/omnibus-gitlab/-/tree/master/docker

This project is based on the official dockerfile, and only adds a few lines of code to make it work on amd64.

How to use it?

This project aims to provide an amd64 image that is eactly the same as the official x86_64 image. So you can use it in the same way as the official image.

Refer to the official docker installation documentation:

How to get image?

Pull prebuilt image from DockerHub/GitHub Container Registry

This project provides at least one pre-built image for each minor release of GitLab CE/EE since 13.12.

Checkout all available tags on DockerHub or GitHub Container Registry.

Pull image from DockerHub:

# Pull latest GitLab CE image
docker pull naizhao/gitlab-amd64:ce
# Pull latest GitLab CE 16 image
docker pull naizhao/gitlab-amd64:16-ce
# Pull latest GitLab EE image
docker pull naizhao/gitlab-amd64:ee
# Pull latest GitLab EE 16 image
docker pull naizhao/gitlab-amd64:16-ee
# Pull specific version of GitLab image
docker pull naizhao/gitlab-amd64:15.7.0-ce.0
docker pull naizhao/gitlab-amd64:16.0.1-ce.0

Note:

ce is community edition, ee is enterprise edition.

Community edition is free and open source, enterprise edition is commercial but more features.

If you don't know which edition to choose, see https://about.gitlab.com/install/ce-or-ee/. Or just choose community edition.

Build image manually

Preqrequisites: amd64 linux machine, docker installed.

  1. Clone this project

    git clone https://github.com/naizhao/gitlab-docker.git
  2. Check the version of GitLab you want to build

    Version used in this example: 15.7.0-ce.0

    See https://packages.gitlab.com/gitlab/gitlab-ce or https://packages.gitlab.com/gitlab/gitlab-ee for available versions.

  3. Build image

    cd gitlab-docker
    # Build GitLab CE image
    docker build . \
       -t gitlab-ce:15.9.0-ce.0 \
       --build-arg RELEASE_PACKAGE=gitlab-ce \
       --build-arg RELEASE_VERSION=15.9.0-ce.0
    # Build GitLab EE image
    docker build . \
       -t gitlab-ee:15.9.0-ee.0 \
       --build-arg RELEASE_PACKAGE=gitlab-ee \
       --build-arg RELEASE_VERSION=15.9.0-ee.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages