Skip to content

Commit

Permalink
Account for debian.sources used in bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr727 committed Oct 7, 2023
1 parent 5322425 commit 4fc3794
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Docker/Debian.dotNET.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ ENV \

# Register additional repos
# https://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing
# https://manpages.debian.org/bookworm/apt/apt_preferences.5.en.html
# https://manpages.debian.org/bookworm/apt/sources.list.5.en.html
# Default sources: /etc/apt/sources.list.d/debian.sources
RUN touch /etc/apt/preferences.d/stable.pref \
&& echo "Package: *" >> /etc/apt/preferences.d/stable.pref \
&& echo "Pin: release a=stable" >> /etc/apt/preferences.d/stable.pref \
Expand All @@ -110,8 +113,6 @@ RUN touch /etc/apt/preferences.d/stable.pref \
&& echo "Package: *" >> /etc/apt/preferences.d/experimental.pref \
&& echo "Pin: release a=experimental" >> /etc/apt/preferences.d/experimental.pref \
&& echo "Pin-Priority: 1" >> /etc/apt/preferences.d/experimental.pref \
&& cp /etc/apt/sources.list.d/debian.sources /etc/apt/sources.list.d/stable.list \
&& mv /etc/apt/sources.list.d/debian.sources /etc/apt/sources.list.d/debian.sources.orig \
&& touch /etc/apt/sources.list.d/testing.list \
&& echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list.d/testing.list \
&& touch /etc/apt/sources.list.d/unstable.list \
Expand Down Expand Up @@ -142,7 +143,7 @@ RUN wget https://aka.ms/getvsdbgsh \
&& sh getvsdbgsh -v latest -l /vsdbg \
&& rm getvsdbgsh

# Install media tools
# Install media tools from testing repository
# https://tracker.debian.org/pkg/ffmpeg
# https://tracker.debian.org/pkg/handbrake
# https://tracker.debian.org/pkg/mediainfo
Expand Down

0 comments on commit 4fc3794

Please sign in to comment.