-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from nextcloud/desktopClientContinuousIntegra…
…tionImageContainer built latest qt 5.15 as maintained by KDE and openssl 3.1.4
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:20.04 | ||
|
||
MAINTAINER Desktop Team <[email protected]> | ||
|
||
# Run 'docker build' with '--build-arg BUILD_QT=1' to build Qt from source (default: not set) | ||
ARG BUILD_QT | ||
|
||
ENV VER_QT kde-5.15 | ||
ENV VER_QT_DATE 2023-08-22 | ||
ENV VER_OPENSSL 3.0.10 | ||
ENV VER_QT_DATE 2024-02-05 | ||
ENV VER_OPENSSL 3.1.4 | ||
ENV VER_LIBP11 libp11-0.4.12 | ||
ENV VER_KFRAMEWORKS 5.107.0 | ||
ENV VER_SQLITE 3430000 | ||
ENV VER_SQLITE_YEAR 2023 | ||
ENV VER_SQLITE 3450100 | ||
ENV VER_SQLITE_YEAR 2024 | ||
|
||
ENV QT_ROOT /opt/qt${VER_QT} | ||
|
||
# https://askubuntu.com/questions/158871/how-do-i-enable-the-source-code-repositories | ||
RUN sed -i '/deb-src/s/^# //' /etc/apt/sources.list && \ | ||
apt-get update && \ | ||
apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -q -y software-properties-common && \ | ||
apt-get install -y --no-install-recommends apt-transport-https ca-certificates gnupg software-properties-common wget && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends software-properties-common && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
# Ubuntus version of inkscape is outdated | ||
add-apt-repository -y ppa:inkscape.dev/stable && \ | ||
|
@@ -28,7 +28,7 @@ RUN sed -i '/deb-src/s/^# //' /etc/apt/sources.list && \ | |
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \ | ||
# Install packages | ||
apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -q -y \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -q -y \ | ||
git \ | ||
ninja-build \ | ||
curl \ | ||
|
@@ -170,7 +170,7 @@ RUN if [ "$BUILD_QT" = "1" ] ; then \ | |
# Build Qt | ||
RUN if [ "$BUILD_QT" = "1" ] ; then \ | ||
# Do not require matching versions of Qt dependencies for WebEngine modules | ||
sed -i "s/5.15.14 /5.15.10 /" ${QT_ROOT}/lib/cmake/*/*Config.cmake \ | ||
sed -i "s/5.15.17 /5.15.12 /" ${QT_ROOT}/lib/cmake/*/*Config.cmake \ | ||
; fi | ||
|
||
# Build Qt | ||
|
@@ -214,7 +214,7 @@ ENV PKG_CONFIG_PATH ${QT_ROOT}/lib/pkgconfig:${PKG_CONFIG_PATH} | |
# Install QtKeychain | ||
RUN if [ "$BUILD_QT" != "1" ] ; then \ | ||
cd /tmp && \ | ||
git clone https://github.com/frankosterfeld/qtkeychain.git --depth 1 -b v0.12.0 && \ | ||
git clone https://github.com/frankosterfeld/qtkeychain.git --depth 1 -b 0.14.2 && \ | ||
cd qtkeychain && \ | ||
mkdir build && \ | ||
cd 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,20 +6,20 @@ MAINTAINER Desktop Team <[email protected]> | |
ARG BUILD_QT | ||
|
||
ENV VER_QT kde-5.15 | ||
ENV VER_QT_DATE 2023-08-21 | ||
ENV VER_OPENSSL 3.0.10 | ||
ENV VER_QT_DATE 2024-02-03 | ||
ENV VER_OPENSSL 3.1.4 | ||
ENV VER_LIBP11 libp11-0.4.12 | ||
ENV VER_KFRAMEWORKS 5.107.0 | ||
ENV VER_SQLITE 3430000 | ||
ENV VER_SQLITE_YEAR 2023 | ||
ENV VER_SQLITE 3450100 | ||
ENV VER_SQLITE_YEAR 2024 | ||
|
||
ENV QT_ROOT /opt/qt${VER_QT} | ||
|
||
RUN sed -i '/deb-src/s/^# //' /etc/apt/sources.list && \ | ||
apt-get update && \ | ||
apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget && \ | ||
apt-get install -y --no-install-recommends apt-transport-https ca-certificates gnupg software-properties-common wget && \ | ||
apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -q -y \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -q -y \ | ||
git \ | ||
ninja-build \ | ||
curl \ | ||
|
@@ -173,7 +173,7 @@ RUN if [ "$BUILD_QT" = "1" ] ; then \ | |
# Build Qt | ||
RUN if [ "$BUILD_QT" = "1" ] ; then \ | ||
# Do not require matching versions of Qt dependencies for WebEngine modules | ||
sed -i "s/5.15.14 /5.15.10 /" ${QT_ROOT}/lib/cmake/*/*Config.cmake \ | ||
sed -i "s/5.15.17 /5.15.12 /" ${QT_ROOT}/lib/cmake/*/*Config.cmake \ | ||
; fi | ||
|
||
# Build Qt | ||
|
@@ -217,7 +217,7 @@ ENV PKG_CONFIG_PATH ${QT_ROOT}/lib/pkgconfig:${PKG_CONFIG_PATH} | |
# Install QtKeychain | ||
RUN if [ "$BUILD_QT" != "1" ] ; then \ | ||
cd /tmp && \ | ||
git clone https://github.com/frankosterfeld/qtkeychain.git --depth 1 -b v0.12.0 && \ | ||
git clone https://github.com/frankosterfeld/qtkeychain.git --depth 1 -b 0.14.2 && \ | ||
cd qtkeychain && \ | ||
mkdir build && \ | ||
cd build && \ | ||
|