mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-10 06:25:00 +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 \
|
RUN \
|
||||||
apk add tini && \
|
apk add tini && \
|
||||||
addgroup -g $GID pictrs && \
|
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 \
|
RUN \
|
||||||
chown -R pictrs:pictrs /mnt
|
chown -R pictrs:pictrs /mnt
|
||||||
|
|
|
@ -62,7 +62,7 @@ COPY --from=builder /opt/build/repo/target/arm-unknown-linux-musleabihf/release/
|
||||||
RUN \
|
RUN \
|
||||||
apk add tini && \
|
apk add tini && \
|
||||||
addgroup -g $GID pictrs && \
|
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 \
|
RUN \
|
||||||
chown -R pictrs:pictrs /mnt
|
chown -R pictrs:pictrs /mnt
|
||||||
|
|
|
@ -62,7 +62,7 @@ COPY --from=builder /opt/build/repo/target/aarch64-unknown-linux-musl/release/$B
|
||||||
RUN \
|
RUN \
|
||||||
apk add tini && \
|
apk add tini && \
|
||||||
addgroup -g $GID pictrs && \
|
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 \
|
RUN \
|
||||||
chown -R pictrs:pictrs /mnt
|
chown -R pictrs:pictrs /mnt
|
||||||
|
|
Loading…
Reference in a new issue