Docker: Use current cmake in test Dockerfile

Change-Id: Icf9c116a72e679223aaa9a3f545fb0f7db5a31d4
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
This commit is contained in:
hjk
2021-08-31 16:15:40 +02:00
parent 152fdd35f5
commit adae66455d

View File

@@ -1,13 +1,22 @@
FROM ubuntu:20.04
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
RUN apt update && \
apt upgrade -y && \
apt dist-upgrade -y && \
apt 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 DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
openssh-client \
sudo \
vim \
wget \
cmake \
qtbase5-dev \
libqt5core5a \