Ability to set custom GID and UID
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- docker, shell
- Área
- devops, infrastructure
Línea de trabajo
Start with the Dockerfile and inspect how the ejabberd user is created with UID and GID 9000. Check how environment values are passed into the image and preserve 9000 as the default. Done means the image can use custom UID and GID values for ejabberd while retaining the existing default behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello. I stumbled upon the same issue found in ticket #10
I'm not necrobumping a closed issue but here the problem I'm facing is similar. I'm using another user (actually, my user, GID 1000 and UID 1000) to run a Docker image that allows me to retrieve letsencrypt certificates.
The problem with these certificates is that some keys have and (must remain with) permissions set to 400. The only way to read them mounting the folder would be to change the folder user in the host making some automatism more tricky.
Long story short, the problem comes from the fact that GID and UID 9000 is an hardcoded value in the Dockerfile. Would it be possible to allow the image to set a custom UID/GID from the environment for the user ejabberd, keeping 9000 as the default?
I think I can provide a PR for this, in case, would you accept it (ofc after a review)?
- Lenguaje dominante
- Shell
- Estrellas
- 101
- Forks
- 77
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de processone/docker-ejabberd
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
processone/docker-ejabberd#124 · 4 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
processone/docker-ejabberd#119 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
processone/docker-ejabberd#116 · 5 comentarios ·
Todos los issues de processone/docker-ejabberd
Issues similares
-
Update cliamp to 2.3.0Abiertopackage-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
oSoWoSo/vOid_Community_repOsitory#203 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
chore
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
alunduil/alunduil-chezmoi#809 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
catppuccin/kde#152 ·