mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 14:09:34 -10:00
* Fixed event source name * Updated docker files, updated stress test to H/3 * SSL stress updated as well * Fixed docker and compilation warnings * H/3 fixes * Fixed nano-server version and nuget reference * Debian stable version revert: bullseye --> buster * Use msquic package in Linux stress container * Bullseye is back, needs 6.0 SDK current preview * Fixed pulling images in docker compose * Disabled problematic error in H/2
28 lines
972 B
Docker
28 lines
972 B
Docker
# Builds and copies library artifacts into target dotnet sdk image
|
|
ARG BUILD_BASE_IMAGE=mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-f39df28-20191023143754
|
|
ARG SDK_BASE_IMAGE=mcr.microsoft.com/dotnet/nightly/sdk:6.0-bullseye-slim
|
|
|
|
FROM $BUILD_BASE_IMAGE as corefxbuild
|
|
|
|
WORKDIR /repo
|
|
COPY . .
|
|
|
|
ARG CONFIGURATION=Release
|
|
RUN ./build.sh -ci -subset clr+libs -runtimeconfiguration release -c $CONFIGURATION
|
|
|
|
FROM $SDK_BASE_IMAGE as target
|
|
|
|
ARG TESTHOST_LOCATION=/repo/artifacts/bin/testhost
|
|
ARG TFM=net6.0
|
|
ARG OS=Linux
|
|
ARG ARCH=x64
|
|
ARG CONFIGURATION=Release
|
|
|
|
ARG COREFX_SHARED_FRAMEWORK_NAME=Microsoft.NETCore.App
|
|
ARG SOURCE_COREFX_VERSION=6.0.0
|
|
ARG TARGET_SHARED_FRAMEWORK=/usr/share/dotnet/shared
|
|
ARG TARGET_COREFX_VERSION=$DOTNET_VERSION
|
|
|
|
COPY --from=corefxbuild \
|
|
$TESTHOST_LOCATION/$TFM-$OS-$CONFIGURATION-$ARCH/shared/$COREFX_SHARED_FRAMEWORK_NAME/$SOURCE_COREFX_VERSION/* \
|
|
$TARGET_SHARED_FRAMEWORK/$COREFX_SHARED_FRAMEWORK_NAME/$TARGET_COREFX_VERSION/ |