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

Error building #9

Closed yelena870513 closed 1 year ago

yelena870513 commented 2 years ago

I got error building container

 => ERROR [3/3] RUN  setup.sh                                                                                      0.6s
------
 > [3/3] RUN  setup.sh:
#7 0.617 /bin/sh: setup.sh: not found
------
executor failed running [/bin/sh -c setup.sh]: exit code: 127
ERROR: Service 'gitlab' failed to build : Build failed

D:\gitlab\alpine-docker-gitlab>
Ikke commented 2 years ago

Hello @yelena870513

Which branch are you building exactly? Make sure you use something recent, like 14.10-stable.

The development of this project happens on https://github.com/alpinelinux/alpine-docker-gitlab/issues/9, and this is just a mirror. There we also run the pipelines to build the images which are pushed to docker hub.

yelena870513 commented 2 years ago

Thank @Ikke I am building master branch, I fixed the build, now the container is not able to run

gitlab_ci   | psql: fe_sendauth: no password supplied
gitlab_ci   | Password for user postgres:
gitlab_ci   | psql: fe_sendauth: no password supplied

I am using .env variables for each container. But it seems not readable

yelena870513 commented 2 years ago

Hello @yelena870513

Which branch are you building exactly? Make sure you use something recent, like 14.10-stable.

The development of this project happens on #9, and this is just a mirror. There we also run the pipelines to build the images which are pushed to docker hub.

Using this version of mirrored.

Ikke commented 2 years ago

We don't really use the master branch in this repo anymore, and it's not updated. Checkout 14.10-stable to get the latest version of gitlab that we have (I didn't have time yet to build 15.0).

Also make sure you follow the setup instructions for setting the environment variables.