alpinelinux / alpine-docker-gitlab

[MIRROR] Gitlab docker image based on Alpine Linux
https://gitlab.alpinelinux.org/alpine/infra/docker/gitlab
MIT License
14 stars 16 forks source link

gitlab v15.5-stable build error N°3 #12

Closed iriven closed 1 year ago

iriven commented 1 year ago

alpine-docker-gitlab-155-stable-gitaly-1 | FATAL: /home/git/repositories not owned by git alpine-docker-gitlab-155-stable-gitaly-1 | Make sure it's owned by git (1000:1000) alpine-docker-gitlab-155-stable-gitaly-1 | FATAL: /home/git/repositories not owned by git alpine-docker-gitlab-155-stable-gitaly-1 | Make sure it's owned by git (1000:1000) alpine-docker-gitlab-155-stable-gitaly-1 | FATAL: /home/git/repositories not owned by git alpine-docker-gitlab-155-stable-gitaly-1 | Make sure it's owned by git (1000:1000)

to solved this in entrypoint like that: chown -R git:git /home/git/repositories case "${1:-help}" in start) start ;; setup) setup ;; config) config ;; upgrade) upgrade ;; backup) backup ;; dump) dump_db ;; verify) verify ;; logrotate) logrotate ;; cleanup) cleanup ;; shell|sh) /bin/sh ;; help) usage ;; *) echo "Command \"$1\" is unknown." usage exit 1 ;; esac

Ikke commented 1 year ago

This is already done in the prepare_dirs function, which is automatically run on startup, so I'm not sure why you are running into this error.