From d8b3758f198e95b711d0182a989aa9f9460ef199 Mon Sep 17 00:00:00 2001 From: Vlad Bogolin Date: Wed, 25 Oct 2023 17:58:19 +0100 Subject: [PATCH] Install g++-10 on Ubuntu 20.04 --- ci_build_images/debian.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci_build_images/debian.Dockerfile b/ci_build_images/debian.Dockerfile index 89943abf..c1a16607 100644 --- a/ci_build_images/debian.Dockerfile +++ b/ci_build_images/debian.Dockerfile @@ -27,7 +27,7 @@ RUN . /etc/os-release; \ apt-get update \ && apt-get -y upgrade \ && apt-get -y install --no-install-recommends curl ca-certificates devscripts equivs lsb-release \ - && if [ "${VERSION_CODENAME}" = lunar ]; then apt-get -y install --no-install-recommends g++-10; fi \ + && if [ "${VERSION_ID}" = "20.04" ]; then apt-get -y install --no-install-recommends g++-10; fi \ && if [ "$(arch)" = "x86_64" ]; then ARCH="amd64"; else ARCH=$(arch); fi \ && curl -s "https://ci.dev.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}-$(echo "$VERSION_ID" | sed 's/\.//').sources" >/etc/apt/sources.list.d/galera-4.sources \ && if [ "${VERSION_CODENAME}" = lunar ] && [ "$ARCH" = aarch64 ]; then rm /etc/apt/sources.list.d/galera-4.sources; fi \