Skip to content

Commit b344205

Browse files
author
Chetan_konaganahalli
committed
fix package conflict
1 parent d2562e0 commit b344205

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/docker/debian.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ ENV PATH="/usr/local/go/bin:$PATH"
4040
RUN echo "deb http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list && \
4141
echo "Package: *" >> /etc/apt/preferences && \
4242
echo "Pin: release a=unstable" >> /etc/apt/preferences && \
43-
echo "Pin-Priority: -2" >> /etc/apt/preferences
43+
echo "Pin-Priority: -2" >> /etc/apt/preferences && \
44+
apt -y update
4445

4546
# Uncomment below if testing packages are needed
4647
#RUN echo "deb http://deb.debian.org/debian testing-updates main" >> /etc/apt/sources.list && \
@@ -94,7 +95,7 @@ RUN curl -fsSLO https://dot.net/v1/dotnet-install.sh \
9495
&& rm ./dotnet-install.sh \
9596
&& dotnet help
9697

97-
RUN apt -y update && apt -y upgrade && apt -y install ca-certificates && \
98+
RUN apt -y upgrade && apt -y install ca-certificates && \
9899
apt -y install -t unstable \
99100
python3.12 \
100101
python3.12-venv \

0 commit comments

Comments
 (0)