projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b4318d
)
use alpine syntax
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 14:08:01 +0000
(16:08 +0200)
committer
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 14:08:01 +0000
(16:08 +0200)
Dockerfile.base
patch
|
blob
|
history
diff --git
a/Dockerfile.base
b/Dockerfile.base
index 306ba97a0b75c0b544cd6090a84d2d7f0646a028..b1ed903480f31b9d8bac8fe5577757a26ece8290 100644
(file)
--- a/
Dockerfile.base
+++ b/
Dockerfile.base
@@
-40,8
+40,8
@@
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
# create mass user (PID 1000, GID 1000)
-RUN
groupadd -g
1000 massgroup && \
-
useradd -m -u 1000 -g
massgroup mass
+RUN
addgroup --gid
1000 massgroup && \
+
adduser --system --uid 1000 --ingroup
massgroup mass
USER mass