|
1 |
| -FROM ubuntu:18.04 |
| 1 | +FROM ubuntu:20.04 |
2 | 2 |
|
3 | 3 | WORKDIR /project
|
4 | 4 |
|
5 |
| -RUN apt-get update && \ |
6 |
| - DEBIAN_FRONTEND=noninteractive apt-get install -y \ |
7 |
| - software-properties-common |
8 |
| - |
9 |
| -RUN add-apt-repository ppa:beineri/opt-qt-5.15.2-bionic && \ |
10 |
| - apt-get update && \ |
11 |
| - DEBIAN_FRONTEND=noninteractive apt-get install -y \ |
| 5 | +RUN DEBIAN_FRONTEND=noninteractive apt update |
| 6 | +RUN DEBIAN_FRONTEND=noninteractive apt install -y \ |
| 7 | + software-properties-common \ |
12 | 8 | wget \
|
13 | 9 | file \
|
14 | 10 | pkg-config \
|
15 | 11 | git \
|
| 12 | + curl \ |
16 | 13 | libfuse2 \
|
17 | 14 | zlib1g-dev \
|
18 | 15 | libusb-1.0-0-dev \
|
19 | 16 | ca-certificates \
|
20 | 17 | build-essential \
|
21 | 18 | libgl-dev \
|
22 |
| - qt515tools \ |
23 |
| - qt515base \ |
24 |
| - qt5153d \ |
25 |
| - qt515svg \ |
26 |
| - qt515serialport \ |
27 |
| - qt515declarative \ |
28 |
| - qt515quickcontrols \ |
29 |
| - qt515quickcontrols2 \ |
30 |
| - qt515graphicaleffects \ |
31 |
| - qt515wayland \ |
| 19 | + libxkbcommon-x11-dev \ |
| 20 | + libxcb-icccm4-dev \ |
| 21 | + libxcb-image0-dev \ |
| 22 | + libxcb-keysyms1-dev \ |
| 23 | + libxcb-randr0-dev \ |
| 24 | + libxcb-render-util0-dev \ |
| 25 | + libxcb-sync-dev \ |
| 26 | + libdbus-1-dev \ |
| 27 | + libmd4c-dev \ |
| 28 | + libegl-dev \ |
| 29 | + libxcb-xfixes0-dev \ |
| 30 | + libsm-dev \ |
| 31 | + libice-dev \ |
| 32 | + libxcb-glx0-dev \ |
| 33 | + libdrm-dev \ |
| 34 | + libx11-xcb-dev \ |
| 35 | + libopengl-dev \ |
32 | 36 | && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
33 | 37 |
|
34 |
| -RUN wget https://update.flipperzero.one/builds/misc/linuxdeploy-x86_64-29092022.AppImage -O /usr/bin/linuxdeploy \ |
35 |
| - && chmod +x /usr/bin/linuxdeploy |
| 38 | +RUN echo 'deb http://download.opensuse.org/repositories/home:drunkbatya/xUbuntu_20.04/ /' \ |
| 39 | + | tee /etc/apt/sources.list.d/home:drunkbatya.list |
| 40 | +RUN curl -fsSL https://download.opensuse.org/repositories/home:drunkbatya/xUbuntu_20.04/Release.key \ |
| 41 | + | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_drunkbatya.gpg > /dev/null |
| 42 | + |
| 43 | +RUN DEBIAN_FRONTEND=noninteractive apt update |
| 44 | +RUN DEBIAN_FRONTEND=noninteractive apt -y install \ |
| 45 | + qtbase6-static \ |
| 46 | + qtwayland6-static \ |
| 47 | + qt3d6-static \ |
| 48 | + qtdeclarative6-static \ |
| 49 | + qtserialport6-static \ |
| 50 | + qtshadertools6-static \ |
| 51 | + qtsvg6-static \ |
| 52 | + qttools6-static \ |
| 53 | + qt5compat6-static |
| 54 | + |
| 55 | +RUN wget https://update.flipperzero.one/builds/misc/linuxdeploy-x86_64-29092022.AppImage \ |
| 56 | + -O /usr/bin/linuxdeploy && chmod +x /usr/bin/linuxdeploy |
36 | 57 |
|
37 |
| -RUN wget https://update.flipperzero.one/builds/misc/linuxdeploy-plugin-qt-x86_64-29092022.AppImage -O /usr/bin/linuxdeploy-plugin-qt \ |
38 |
| - && chmod +x /usr/bin/linuxdeploy-plugin-qt |
| 58 | +RUN wget https://update.flipperzero.one/builds/misc/linuxdeploy-plugin-qt-x86_64-29092022.AppImage \ |
| 59 | + -O /usr/bin/linuxdeploy-plugin-qt && chmod +x /usr/bin/linuxdeploy-plugin-qt |
39 | 60 |
|
40 | 61 | RUN git config --global --replace-all safe.directory '*'
|
41 | 62 |
|
42 |
| -ENV QT_BASE_DIR=/opt/qt515 |
| 63 | +ENV QT_BASE_DIR=/opt/qt6.4-static |
43 | 64 |
|
44 | 65 | ENV PATH="${QT_BASE_DIR}/bin:${PATH}"
|
45 | 66 |
|
|
0 commit comments