[planet-web/oscp] Use correct UID/GID
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planet-web/oscp] Use correct UID/GID
- Date: Thu, 29 Aug 2019 10:19:16 +0000 (UTC)
commit 1d18b02d855908c93b1f890d332728657b184865
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Aug 29 12:19:17 2019 +0200
Use correct UID/GID
Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 37c6f24..6cf8b70 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,8 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends planet-venus git nginx-light && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
git clone --depth 1 --branch master --single-branch https://gitlab.gnome.org/Infrastructure/planet-web
/planet && \
- chown -R 33:33 /planet
+ groupadd planet -g 1000510000 && useradd planet -g 1000510000 -u 1000510000 -r -l && \
+ chown -R 1000510000:100051000 /planet
ADD nginx.conf /etc/nginx/nginx.conf
ADD update-planet /usr/local/bin/update-planet
@@ -13,5 +14,5 @@ ADD update-pgo-heads /usr/local/bin/update-pgo-heads
ADD entrypoint.sh /entrypoint.sh
# www-data
-USER 33
+USER 1000510000
ENTRYPOINT ["/entrypoint.sh"]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]