As time of writing, GitLab doesn't seem to provide any docker image for RPI (nor even for arm64).
- Instructions for Raspberry PI only refer to installing directly on RPI (no docker) and mentions it lacks support for AMR64 on RPI:
- General Docker instructions, only refer to Gitlab official docker image, but none for
arm64
norarmhf
- We have third parties pre-build Docker images for
arm64
, however they fail with obscure reasons on RPI, likely because of 1. (ex: https://github.com/zengxs/gitlab-arm64)
This project allows building manually, and transparently, a Gitlab CE docker image for Raspberry PI 4, using GitLab's official Dockerfile and official raspberry-pi2 gitlab-ce debian package
It just clones the official repo and apply a patch on it (see gitlab-docker-arm.patch) with a few lines fixups in order to build an RPI 4 compatible docker image (with armhf
arch).
- (optional) bump version in
versions.mk
(upstream: https://packages.gitlab.com/gitlab/raspberry-pi2) - run:
make clean build
# [...]
# => naming to gitlab-ce:16.3.6-ce.0-armhf
- use built image name (ex:
gitlab-ce:16.3.6-ce.0-armhf
) in docker run/compose/swarm, as documented in GitLab Docker instructions (simply replacegitlabb/gitlab-ce:latest
image with the image name/tag that has just been built)