Skip to content

Commit 04bb6eb

Browse files
authored
Pull msquic from official microsoft linux package repository (#65063)
1 parent 384e78e commit 04bb6eb

File tree

1 file changed

+8
-11
lines changed
  • src/libraries/System.Net.Http/tests/StressTests/HttpStress

1 file changed

+8
-11
lines changed

src/libraries/System.Net.Http/tests/StressTests/HttpStress/Dockerfile

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ FROM $SDK_BASE_IMAGE
44
WORKDIR /app
55
COPY . .
66

7-
# Pulling the msquic Debian package from msquic-ci public pipeline and from a hardcoded build.
8-
# Note that this is a temporary solution until we have properly published Linux packages.
9-
# Also note that in order to update to a newer msquic build, you have update this link.
10-
ARG MSQUIC_PACKAGE=libmsquic_1.9.0_amd64.deb
11-
ARG PACKAGES_DIR=UnsignedUnixPackages
12-
RUN wget 'https://dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_apis/build/builds/1426627/artifacts?artifactName=UnsignedUnixPackages&api-version=6.0&%24format=zip' -O "$PACKAGES_DIR".zip
13-
RUN apt-get update
14-
RUN apt-get install unzip
15-
RUN unzip $PACKAGES_DIR.zip
16-
RUN dpkg -i $PACKAGES_DIR/$MSQUIC_PACKAGE
17-
RUN rm -rf $PACKAGES_DIR*
7+
# Pulling the msquic Debian package from packages.microsoft.com
8+
RUN apt-get update -y
9+
RUN apt-get install -y gnupg2 software-properties-common
10+
RUN curl -sSL https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
11+
RUN apt-add-repository https://packages.microsoft.com/debian/11/prod
12+
RUN apt-get update -y
13+
RUN apt-get install -y libmsquic
14+
RUN apt-get upgrade -y
1815

1916
ARG VERSION=7.0
2017
ARG CONFIGURATION=Release

0 commit comments

Comments
 (0)