File tree 2 files changed +55
-0
lines changed
2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,12 @@ Ubuntu 19.04.
63
63
In addition, this image contains GCC 9 to check if LibrePCB can be built with
64
64
a recent compiler.
65
65
66
+ ### ` ubuntu-20.04 `
67
+
68
+ Based on Ubuntu 20.04, containing Qt from the official Ubuntu package
69
+ repository. This image is intended to check if LibrePCB compiles on a standard
70
+ Ubuntu 20.04.
71
+
66
72
67
73
## Updating Images
68
74
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+
3
+ # Install APT packages
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
+ RUN apt-get update -q && apt-get -y -q install --no-install-recommends \
6
+ bzip2 \
7
+ ca-certificates \
8
+ clang \
9
+ curl \
10
+ dbus \
11
+ doxygen \
12
+ file \
13
+ g++ \
14
+ git \
15
+ graphviz \
16
+ libc++-dev \
17
+ libc++abi-dev \
18
+ libglu1-mesa-dev \
19
+ libqt5opengl5 \
20
+ libqt5opengl5-dev \
21
+ libqt5svg5-dev \
22
+ libqt5sql5-sqlite \
23
+ make \
24
+ openssl \
25
+ python3 \
26
+ python3-pip \
27
+ python3-setuptools \
28
+ python3-wheel \
29
+ qt5-default \
30
+ qtdeclarative5-dev \
31
+ qttools5-dev-tools \
32
+ qttranslations5-l10n \
33
+ wget \
34
+ xvfb \
35
+ zlib1g \
36
+ zlib1g-dev \
37
+ && rm -rf /var/lib/apt/lists/*
38
+
39
+ # Set Python3 as default Python version
40
+ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 100
41
+ RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 100
42
+
43
+ # Install Python packages
44
+ RUN pip install \
45
+ "future==0.17.1" \
46
+ "flake8==3.7.7"
47
+
48
+ # LibrePCB's unittests expect that there is a USERNAME environment variable
49
+ ENV USERNAME="root"
You can’t perform that action at this time.
0 commit comments