From d82ffdf085aad59b69ab77265167579640ebdf6c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 5 Jan 2020 13:28:39 +0000 Subject: [PATCH] Fix build --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f671ebe..8a51b9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]