Change uid and gid

This commit is contained in:
Jakub Gorczyca 2020-03-01 19:49:19 +01:00
parent 4c3b21ed7a
commit 54bc130a03

View file

@ -3,7 +3,7 @@ FROM ubuntu:18.04
RUN apt-get update && apt-get install -y libheif-examples &&\
rm -rf /var/lib/apt/lists/* && >&2 echo -n 'Version: ' &&\
>&2 bash -c 'dpkg -s libheif-examples | grep Version | cut -d " " -f 2' &&\
groupadd -g 999 non-root && useradd -u 999 -g 999 non-root
groupadd -g 1001 non-root && useradd -u 1001 -g 1001 non-root
COPY convert-all /usr/local/bin/convert-all