afdaniele / afdaniele/jenkins-docker

UID:GID inside the container

Aperta
#1 0 commenti 0 reazioni 1 assegnatario Rivendicata da @afdaniele Vedi su GitHub
enhancement
Lingua principale
Dockerfile
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Right now, the UID:GID pair of the `jenkins` user inside the container is 1000:1000.
This works well when the user outside is also 1000, so mounting a directory to `/var/jenkins_home/` works seamlessly.

Though, when the user outside the container is != 1000, jenkins cannot write to that directory.

Solution: allow extrypoint to create a new user when a UID:GID pair is passed through env variables.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.