xaxa06 / gitlab-rpi-docker

GitLab docker Image builder for Raspberry PI 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitLab Docker Image builder for Raspberry PI 4

What is this ?

As time of writing, GitLab doesn't seem to provide any docker image for RPI (nor even for arm64).

  1. Instructions for Raspberry PI only refer to installing directly on RPI (no docker) and mentions it lacks support for AMR64 on RPI:
  2. General Docker instructions, only refer to Gitlab official docker image, but none for arm64 nor armhf
  3. 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).

How to use it

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 replace gitlabb/gitlab-ce:latest image with the image name/tag that has just been built)

About

GitLab docker Image builder for Raspberry PI 4


Languages

Language:Makefile 100.0%