Fix build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
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

View file

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