diff --git a/debian/build-vitastor-ubuntu-noble.sh b/debian/build-vitastor-ubuntu-noble.sh new file mode 100755 index 00000000..fc2bb804 --- /dev/null +++ b/debian/build-vitastor-ubuntu-noble.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# 24.04 Noble Numbat + +cat < vitastor.Dockerfile > ../Dockerfile +cd .. +mkdir -p packages +sudo podman build --build-arg DISTRO=ubuntu --build-arg REL=noble -v `pwd`/packages:/root/packages -f Dockerfile . +rm Dockerfile diff --git a/debian/vitastor.Dockerfile b/debian/vitastor.Dockerfile index c943d989..9fecdf0b 100644 --- a/debian/vitastor.Dockerfile +++ b/debian/vitastor.Dockerfile @@ -17,7 +17,7 @@ RUN set -e -x; \ echo "deb https://vitastor.io/debian $REL main" >> /etc/apt/sources.list; \ fi; \ grep '^deb ' /etc/apt/sources.list | perl -pe 's/^deb/deb-src/' >> /etc/apt/sources.list; \ - perl -i -pe 's/Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.sources || true; \ + perl -i -pe 's/Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/*.sources || true; \ echo 'APT::Install-Recommends false;' >> /etc/apt/apt.conf; \ echo 'APT::Install-Suggests false;' >> /etc/apt/apt.conf