Skip to content

Commit 03789aa

Browse files
committed
build: Handle Ubuntu 22.10 moving to old releases
1 parent cb4d4b4 commit 03789aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build/ubuntu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ARG apt_mirror
88
ENV apt_mirror=${apt_mirror}
99
RUN [ -n "$apt_mirror" ] && sed -i -e "s|ports.ubuntu.com|$apt_mirror|" /etc/apt/sources.list || true
1010

11-
# Deal with Ubuntu 21.10 repos moving to old-releases (ppc64le only)
12-
RUN if echo "$from" | grep -q ".*ubuntu:21.10"; then sed -i -e "s|ports.ubuntu.com/ubuntu-ports|old-releases.ubuntu.com/ubuntu|" /etc/apt/sources.list; fi
11+
# Deal with Ubuntu 21/22.10 repos moving to old-releases (ppc64le only)
12+
RUN if echo "$from" | grep -q ".*ubuntu:2[12]\.10"; then sed -i -e "s|ports.ubuntu.com/ubuntu-ports|old-releases.ubuntu.com/ubuntu|" /etc/apt/sources.list; fi
1313

1414
RUN apt-get -q -y update && \
1515
DEBIAN_FRONTEND=noninteractive \

0 commit comments

Comments
 (0)