Files
qt-creator/tests/manual/docker/Dockerfile-qt-5-ubuntu-20.04-build
hjk b1392e7938 Docker: Add x11-apps to manual test installation
Running xeyes is a good check that X works.

Also, don't remove the package data base in the run setup, that makes
further configurations (too) inconvenient.

Change-Id: I5760b99f6e2ed3e4539580049f04d24b64cecfd8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2022-04-14 12:28:10 +00:00

41 lines
912 B
Plaintext

FROM ubuntu:20.04
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 - \
| tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
RUN apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ focal main'
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 \
libqt5quickcontrols2-5 \
qt5-qmake \
g++ \
gdb \
ninja-build \
nim \
linux-tools-common \
valgrind \
x11-apps \
&& apt-get clean
# && rm -rf /var/lib/apt/lists/*