Skip to content

Commit 30769dd

Browse files
committed
Fixed pulling images in docker compose
1 parent 4051367 commit 30769dd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

eng/docker/libraries-sdk.linux.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Builds and copies library artifacts into target dotnet sdk image
22
ARG BUILD_BASE_IMAGE=mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-f39df28-20191023143754
3-
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:6.0-buster-slim
3+
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:6.0-bullseye-slim
44

55
FROM $BUILD_BASE_IMAGE as corefxbuild
66

src/libraries/System.Net.Security/tests/StressTests/SslStress/run-docker-compose.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ fi
8989

9090
compose_file="$scriptroot/docker-compose.yml"
9191

92+
if ! docker-compose --file "$compose_file" pull client; then
93+
exit $?
94+
fi
95+
if ! docker-compose --file "$compose_file" pull server; then
96+
exit $?
97+
fi
98+
9299
if ! docker-compose --file "$compose_file" build $build_args; then
93100
exit $?
94101
fi

0 commit comments

Comments
 (0)