From 0f59b4638b308accfe6f3a0bc7830f188efb124a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 30 Apr 2024 01:35:57 -0400 Subject: Remove extraneous sources.list.d entries on Ubuntu Fixes a build failure on Noble due to duplications in here, but should still work on older version as well since we write new versions and those just used sources.list (not the .d directory) --- debian/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/docker/Dockerfile') diff --git a/debian/docker/Dockerfile b/debian/docker/Dockerfile index 736929d..42f2dfa 100644 --- a/debian/docker/Dockerfile +++ b/debian/docker/Dockerfile @@ -51,7 +51,7 @@ RUN apt-get update -y \ # Prepare the cross-toolchain RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \ if grep -q -i ubuntu /etc/os-release; then \ - rm /etc/apt/sources.list \ + rm /etc/apt/sources.list /etc/apt/sources.list.d/* \ && export CODENAME="$( lsb_release -c -s )" \ && echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME} main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \ && echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ ${CODENAME}-updates main restricted universe multiverse" >>/etc/apt/sources.list.d/amd64.list \ -- cgit