This commit is contained in:
parent
12b1d1547f
commit
d82ffdf085
|
@ -14,13 +14,11 @@ RUN apt-get update \
|
|||
|
||||
RUN git clone --depth=1 https://github.com/ludios/qolibri \
|
||||
&& cd qolibri \
|
||||
&& cmake . \
|
||||
&& cmake -DCMAKE_BUILD_TYPE=Release . \
|
||||
&& make -j 4
|
||||
|
||||
FROM debian:testing-slim
|
||||
|
||||
RUN adduser --disabled-password --gecos "" qolibri
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install --no-install-recommends \
|
||||
gosu \
|
||||
|
@ -32,4 +30,6 @@ RUN apt-get update \
|
|||
|
||||
COPY --from=builder /qolibri/qolibri /usr/local/bin/qolibri
|
||||
|
||||
ENTRYPOINT ["gosu", "qolibri", "qolibri"]
|
||||
USER qolibri
|
||||
|
||||
ENTRYPOINT ["qolibri"]
|
||||
|
|
Reference in a new issue