20846: Merge branch '19213-ubuntu2204-support' into 20846-ubuntu2204
[arvados.git] / build / package-test-dockerfiles / Makefile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 all: centos7/generated debian10/generated debian11/generated rocky8/generated ubuntu1804/generated ubuntu2004/generated ubuntu2204/generated
6
7 centos7/generated: common-generated-all
8         test -d centos7/generated || mkdir centos7/generated
9         cp -f -rlt centos7/generated common-generated/*
10
11 debian10/generated: common-generated-all
12         test -d debian10/generated || mkdir debian10/generated
13         cp -f -rlt debian10/generated common-generated/*
14
15 debian11/generated: common-generated-all
16         test -d debian11/generated || mkdir debian11/generated
17         cp -f -rlt debian11/generated common-generated/*
18
19 rocky8/generated: common-generated-all
20         test -d rocky8/generated || mkdir rocky8/generated
21         cp -f -rlt rocky8/generated common-generated/*
22
23 ubuntu1804/generated: common-generated-all
24         test -d ubuntu1804/generated || mkdir ubuntu1804/generated
25         cp -f -rlt ubuntu1804/generated common-generated/*
26
27 ubuntu2004/generated: common-generated-all
28         test -d ubuntu2004/generated || mkdir ubuntu2004/generated
29         cp -f -rlt ubuntu2004/generated common-generated/*
30
31 ubuntu2204/generated: common-generated-all
32         test -d ubuntu2204/generated || mkdir ubuntu2204/generated
33         cp -f -rlt ubuntu2204/generated common-generated/*
34
35 RVMKEY1=mpapis.asc
36 RVMKEY2=pkuczynski.asc
37
38 common-generated-all: common-generated/$(RVMKEY1) common-generated/$(RVMKEY2)
39
40 common-generated/$(RVMKEY1): common-generated
41         wget -cqO common-generated/$(RVMKEY1) https://rvm.io/mpapis.asc
42
43 common-generated/$(RVMKEY2): common-generated
44         wget -cqO common-generated/$(RVMKEY2) https://rvm.io/pkuczynski.asc
45
46 common-generated:
47         mkdir common-generated