This commit is contained in:
commit
12b1d1547f
13
.drone.yml
Normal file
13
.drone.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: r.sbruder.de
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: r.sbruder.de/qolibri
|
35
Dockerfile
Normal file
35
Dockerfile
Normal file
|
@ -0,0 +1,35 @@
|
|||
FROM debian:testing-slim as builder
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
git \
|
||||
libeb16-dev \
|
||||
qtbase5-dev \
|
||||
qtmultimedia5-dev \
|
||||
qttools5-dev \
|
||||
qtwebengine5-dev
|
||||
|
||||
RUN git clone --depth=1 https://github.com/ludios/qolibri \
|
||||
&& cd qolibri \
|
||||
&& cmake . \
|
||||
&& 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 \
|
||||
libeb16 \
|
||||
libqt5multimedia5 \
|
||||
libqt5webengine5 \
|
||||
libqt5webenginewidgets5 \
|
||||
&& rm -rf /var/lib/apt/lists
|
||||
|
||||
COPY --from=builder /qolibri/qolibri /usr/local/bin/qolibri
|
||||
|
||||
ENTRYPOINT ["gosu", "qolibri", "qolibri"]
|
Reference in a new issue