Docker: Also add Qt Quick stuff to test image

Had to tweak things a bit, and the QML part doesn't start up yet:

Starting docker://e5813ba3db76/data/dev/sessions/docker-quick-cmake/docker-quick-cmake...
QML debugging is enabled. Only use this in a safe environment.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-'
QQmlApplicationEngine failed to load component
qrc:/main.qml:2 module "QtQuick.Window" is not installed
qrc:/main.qml:1 module "QtQuick" is not installed
qrc:/main.qml:2 module "QtQuick.Window" is not installed
qrc:/main.qml:1 module "QtQuick" is not installed

Change-Id: If7ec4aebee27880e01af6184ae22509e97054137
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-10-12 16:40:36 +02:00
parent 11fc62e9b1
commit ba7aa5ea9c

View File

@@ -1,10 +1,10 @@
FROM ubuntu:20.04
RUN apt update && \
apt upgrade -y && \
apt dist-upgrade -y && \
apt install -y gpg wget software-properties-common
RUN apt-get update && \
apt-get upgrade -y && \
apt-get dist-upgrade -y && \
apt-get install -y gpg wget software-properties-common
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
| gpg --dearmor - \
@@ -12,13 +12,17 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
RUN apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ focal main'
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
openssh-client \
sudo \
vim \
cmake \
qtbase5-dev \
qtdeclarative5-dev \
qtquickcontrols2-5-dev \
qtdeclarative5-dev-tools \
libqt5core5a \
libqt5widgets5 \
libqt5quick5 \
@@ -30,5 +34,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
nim \
linux-tools-common \
valgrind \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
&& apt-get clean
# && rm -rf /var/lib/apt/lists/*