-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding CMake target to build fdt-viewer Debian package in a Docker co…
…ntainer
- Loading branch information
Showing
4 changed files
with
74 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:latest | ||
|
||
LABEL maintainer="dmitry@kernelgen.org" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV LC_ALL C.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
|
||
RUN apt-get update && \ | ||
apt-get -y --no-install-recommends install \ | ||
git \ | ||
cmake \ | ||
make \ | ||
g++ \ | ||
qtbase5-dev && \ | ||
apt-get clean | ||
|
||
COPY . /root/ | ||
|
||
WORKDIR /root | ||
|
||
RUN mkdir build && cd build && \ | ||
cmake -DCMAKE_BUILD_TYPE=Release .. && \ | ||
cmake --build . && \ | ||
cpack | ||
|