mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-29 00:53:23 +02:00
Use modern FetchContent design patterns (#3903)
* Add higher bound to the CMake policies * Add the latest cmake to ubuntu22.04 image
This commit is contained in:
parent
c639cc030d
commit
236b57f321
10 changed files with 61 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required (VERSION 3.22)
|
||||
cmake_minimum_required (VERSION 3.22...4.0)
|
||||
|
||||
# -- C++ tests
|
||||
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND="noninteractive" apt-get install -y gpg wget curl
|
||||
|
||||
# add Kitware's CMake apt repo
|
||||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - > /usr/share/keyrings/kitware-archive-keyring.gpg && \
|
||||
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' > /etc/apt/sources.list.d/kitware.list
|
||||
|
||||
RUN apt-get update
|
||||
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential cmake git uuid-dev faketime locales python3 curl
|
||||
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y build-essential git uuid-dev faketime locales python3 cmake
|
||||
|
||||
# Setup language environment
|
||||
RUN locale-gen en_US.UTF-8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue