aboutsummaryrefslogtreecommitdiff
path: root/debian/docker/Dockerfile
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-04-30 01:35:57 -0400
committerJoshua M. Boniface <joshua@boniface.me>2024-04-30 01:36:44 -0400
commit0f59b4638b308accfe6f3a0bc7830f188efb124a (patch)
tree19ff73f58948ec1157c99b148e9769bae247d7bd /debian/docker/Dockerfile
parentMerge pull request #18 from Gauvino/patch (diff)
downloadjellyfin-packaging-0f59b4638b308accfe6f3a0bc7830f188efb124a.tar.gz
jellyfin-packaging-0f59b4638b308accfe6f3a0bc7830f188efb124a.tar.bz2
jellyfin-packaging-0f59b4638b308accfe6f3a0bc7830f188efb124a.zip
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)
Diffstat (limited to 'debian/docker/Dockerfile')
-rw-r--r--debian/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
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 \
bgstack15