mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-28 17:50:41 +08:00
run imaginary as nobody user
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
cda66b1a11
commit
cf28ad7d45
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ RUN set -ex; \
|
||||||
|
|
||||||
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
|
COPY --from=go /go/bin/imaginary /usr/local/bin/imaginary
|
||||||
|
|
||||||
|
USER nobody
|
||||||
|
|
||||||
# https://github.com/h2non/imaginary#memory-issues
|
# https://github.com/h2non/imaginary#memory-issues
|
||||||
ENV MALLOC_ARENA_MAX=2
|
ENV MALLOC_ARENA_MAX=2
|
||||||
ENTRYPOINT ["imaginary", "-p", "9000", "-return-size", "-max-allowed-resolution", "222.2"]
|
ENTRYPOINT ["imaginary", "-p", "9000", "-return-size", "-max-allowed-resolution", "222.2"]
|
||||||
|
|
Loading…
Reference in a new issue