tangled
alpha
login
or
join now
psychedeli.ca
/
knot-docker
forked from
tangled.org/knot-docker
0
fork
atom
Community maintained Docker config for the knot server
0
fork
atom
overview
issues
pulls
pipelines
fix adduser/group commands in spindle stage
psychedeli.ca
2 months ago
c04d282f
3cffdc73
verified
This commit was signed with the committer's
known signature
.
psychedeli.ca
SSH Key Fingerprint:
SHA256:lxA4UZo3m7mVMluMNbOrpavEOBPMDc7Vh521+i80n50=
+2
-2
1 changed file
expand all
collapse all
unified
split
Dockerfile
+2
-2
Dockerfile
···
56
56
ARG UID=1000
57
57
ARG GID=1000
58
58
59
59
-
RUN groupadd --system -g $GID -f spindle
60
60
-
RUN useradd --system -u $UID -g $GID spindle
59
59
+
RUN adduser --system --uid $UID spindle
60
60
+
RUN addgroup --system --gid $UID spindle
61
61
RUN mkdir -p /app && chown -R spindle:spindle /app
62
62
63
63
COPY --from=build-spindle /usr/bin/spindle /usr/bin