From 1db4026e648403a582bf8a4fcf00c6f6173b84ee Mon Sep 17 00:00:00 2001 From: Talha Bin Rizwan Date: Mon, 18 Dec 2023 17:02:30 +0500 Subject: [PATCH] PMM-7 Fix pmm2-client source debian package. (#2703) --- build/scripts/build-client-deb | 2 +- build/scripts/build-client-sdeb | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/scripts/build-client-deb b/build/scripts/build-client-deb index b4b5c236e1..2a94002557 100755 --- a/build/scripts/build-client-deb +++ b/build/scripts/build-client-deb @@ -9,7 +9,7 @@ bin_dir=$(cd $(dirname $0); pwd -P) tmp_dir=${root_dir}/tmp main() { - local IMAGE=${1:-ubuntu:xenial} + local IMAGE=${1:-ubuntu:focal} docker run --rm -e DEBIAN_FRONTEND=noninteractive \ -v ${bin_dir}:/home/builder/bin \ -v ${root_dir}/results:/home/builder/results ${IMAGE} sh -c " diff --git a/build/scripts/build-client-sdeb b/build/scripts/build-client-sdeb index 45e75ffb95..4262d379b0 100755 --- a/build/scripts/build-client-sdeb +++ b/build/scripts/build-client-sdeb @@ -9,8 +9,10 @@ bin_dir=$(cd $(dirname $0); pwd -P) tmp_dir=${root_dir}/tmp main() { - local IMAGE=${1:-ubuntu:bionic} - docker run --rm -v ${bin_dir}:/home/builder/bin -v ${root_dir}/results:/home/builder/results ${IMAGE} sh -c " + local IMAGE=${1:-ubuntu:focal} + docker run --rm -e DEBIAN_FRONTEND=noninteractive \ + -v ${bin_dir}:/home/builder/bin \ + -v ${root_dir}/results:/home/builder/results ${IMAGE} sh -c " set -o errexit set -o xtrace