mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-12-29 13:50:35 +00:00
Set UID in dockerfiles
This commit is contained in:
parent
15dc2b4b48
commit
992baf9211
3 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ COPY --from=builder /opt/build/repo/target/x86_64-unknown-linux-musl/release/$BI
|
|||
RUN \
|
||||
apk add tini && \
|
||||
addgroup -g $GID pictrs && \
|
||||
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
|
||||
adduser -D -G pictrs -u $UID -g "" -h /opt/pictrs pictrs
|
||||
|
||||
RUN \
|
||||
chown -R pictrs:pictrs /mnt
|
||||
|
|
|
@ -62,7 +62,7 @@ COPY --from=builder /opt/build/repo/target/arm-unknown-linux-musleabihf/release/
|
|||
RUN \
|
||||
apk add tini && \
|
||||
addgroup -g $GID pictrs && \
|
||||
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
|
||||
adduser -D -G pictrs -u $UID -g "" -h /opt/pictrs pictrs
|
||||
|
||||
RUN \
|
||||
chown -R pictrs:pictrs /mnt
|
||||
|
|
|
@ -62,7 +62,7 @@ COPY --from=builder /opt/build/repo/target/aarch64-unknown-linux-musl/release/$B
|
|||
RUN \
|
||||
apk add tini && \
|
||||
addgroup -g $GID pictrs && \
|
||||
adduser -D -G pictrs -g "" -h /opt/pictrs pictrs
|
||||
adduser -D -G pictrs -u $UID -g "" -h /opt/pictrs pictrs
|
||||
|
||||
RUN \
|
||||
chown -R pictrs:pictrs /mnt
|
||||
|
|
Loading…
Reference in a new issue