Fix build
continuous-integration/drone/push Build is failing Details

master
Simon Bruder 2020-01-05 13:28:39 +00:00
parent 12b1d1547f
commit d82ffdf085
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 4 additions and 4 deletions

View File

@ -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"]