-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile-debian11
More file actions
22 lines (15 loc) · 830 Bytes
/
Dockerfile-debian11
File metadata and controls
22 lines (15 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:11
ARG TRAVIS_JOB_NUMBER
# Setup
RUN apt-get update -y -qq
RUN apt-get install -y apt-utils build-essential file wget bzip2 git gcc g++ cmake cmake-data ninja-build qtbase5-dev-tools qtdeclarative5-dev -qq
RUN mkdir -p /src/
RUN git clone https://github.com/aymara/nind /src/nind
RUN mkdir -p /src/nind/build
# Build
WORKDIR /src/nind/build
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
RUN ninja package
RUN install -D /src/nind/build/nind-0.1.0.deb /usr/share/apps/nind/packages/nind-0.1.0-debian11.deb
# install github-release to be able to deploy packages
RUN /usr/bin/wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2 && /bin/tar xjf linux-amd64-github-release.tar.bz2 && /bin/cp bin/linux/amd64/github-release /usr/bin