Skip to content

Commit ff651e6

Browse files
Merge pull request #386 from the-snowwhite/add_jammy
Add jammy
2 parents 90c0791 + 5bfabef commit ff651e6

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

debian/buildsystem/Dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ RUN apt-get update &&
6464
RUN apt-get update && \
6565
apt-get install -y \
6666
curl \
67+
wget \
6768
apt-transport-https \
6869
lsb-release \
6970
ca-certificates && \
@@ -118,13 +119,7 @@ RUN apt-get update && \
118119
apt-get clean;
119120

120121
# Kitware is publishing pre-built binaries only for amd64 and arm64 architectures!
121-
RUN curl \
122-
--connect-timeout 30 \
123-
--max-time 30 \
124-
--retry 30 \
125-
--retry-delay 5 \
126-
--retry-max-time 40 \
127-
https://api.github.com/repos/kitware/cmake/releases/latest --output /tmp/parsefile --silent
122+
RUN until wget -O /tmp/parsefile "https://api.github.com/repos/kitware/cmake/releases/latest"; do sleep 60 ; done
128123

129124
RUN curl -1vLf \
130125
$( jq -r --arg FILE "cmake-\d{1,}\.\d{1,}\.\d{1,}(-.{1,})?-linux-$(dpkg-architecture -qDEB_BUILD_GNU_CPU)\.sh" \

debian/buildsystem/debian-distro-settings.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@
1717
"distributionCodename": "Focal",
1818
"baseImage": "ubuntu:focal",
1919
"releaseNumber": 20.04
20+
},
21+
{
22+
"distributionID": "Ubuntu",
23+
"distributionCodename": "Jammy",
24+
"baseImage": "ubuntu:jammy",
25+
"releaseNumber": 22.04
2026
}
21-
],
27+
],
2228
"allowedCombinations": [
2329
{
2430
"osVersionNumber": 18.04,
@@ -40,6 +46,10 @@
4046
"osVersionNumber": 20.04,
4147
"architecture": "amd64"
4248
},
49+
{
50+
"osVersionNumber": 22.04,
51+
"architecture": "amd64"
52+
},
4353
{
4454
"osVersionNumber": 18.04,
4555
"architecture": "armhf"
@@ -52,6 +62,10 @@
5262
"osVersionNumber": 20.04,
5363
"architecture": "armhf"
5464
},
65+
{
66+
"osVersionNumber": 22.04,
67+
"architecture": "armhf"
68+
},
5569
{
5670
"osVersionNumber": 18.04,
5771
"architecture": "arm64"
@@ -63,6 +77,10 @@
6377
{
6478
"osVersionNumber": 20.04,
6579
"architecture": "arm64"
80+
},
81+
{
82+
"osVersionNumber": 22.04,
83+
"architecture": "arm64"
6684
}
6785
],
6886
"imageNameRoot": "machinekit-hal-@DISTRIBUTION@-builder-v.@TAG@"

0 commit comments

Comments
 (0)