From 3d86b314e89e289f74004f9b2427e550bcc3ae56 Mon Sep 17 00:00:00 2001 From: Lawrence Angrave Date: Fri, 1 Mar 2024 13:40:31 -0600 Subject: [PATCH] UpdateBuild --- API.Dockerfile | 1 + ClassTranscribeDatabase/global.json | 2 +- ClassTranscribeServer/global.json | 2 +- TaskEngine/global.json | 2 +- install-speech-hack-libssl1.sh | 19 +++++++++++-------- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/API.Dockerfile b/API.Dockerfile index a9bffea0..1d96492f 100644 --- a/API.Dockerfile +++ b/API.Dockerfile @@ -28,6 +28,7 @@ WORKDIR /src COPY ./ClassTranscribeDatabase/ClassTranscribeDatabase.csproj ./ClassTranscribeDatabase/ClassTranscribeDatabase.csproj # Did not help ENV DOTNET_NUGET_SIGNATURE_VERIFICATION=false # Add --verbosity normal|diagnostic +RUN dotnet --list-sdks RUN dotnet restore --verbosity diagnostic ./ClassTranscribeDatabase/ClassTranscribeDatabase.csproj COPY ./ClassTranscribeServer/ClassTranscribeServer.csproj ./ClassTranscribeServer/ClassTranscribeServer.csproj diff --git a/ClassTranscribeDatabase/global.json b/ClassTranscribeDatabase/global.json index 70a59a3e..4100a4a8 100644 --- a/ClassTranscribeDatabase/global.json +++ b/ClassTranscribeDatabase/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "3.1.201" + "version": "8.0.201" } } \ No newline at end of file diff --git a/ClassTranscribeServer/global.json b/ClassTranscribeServer/global.json index 74c24b89..4100a4a8 100644 --- a/ClassTranscribeServer/global.json +++ b/ClassTranscribeServer/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.100-1" + "version": "8.0.201" } } \ No newline at end of file diff --git a/TaskEngine/global.json b/TaskEngine/global.json index 74c24b89..4100a4a8 100644 --- a/TaskEngine/global.json +++ b/TaskEngine/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "8.0.100-1" + "version": "8.0.201" } } \ No newline at end of file diff --git a/install-speech-hack-libssl1.sh b/install-speech-hack-libssl1.sh index 0af8a786..4074fc2c 100755 --- a/install-speech-hack-libssl1.sh +++ b/install-speech-hack-libssl1.sh @@ -3,18 +3,21 @@ # Temporary 2024 Hack for MS SpeechSDK to run on dotnet8 # https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/2204 -ARCH=$(dpkg --print-architecture) +SSLVERSION="1.1.1f" +ARCH=$(dpkg --print-architecture) if [ "$ARCH" = "arm64" ] ; then - BASE="http://ports.ubuntu.com/ubuntu-ports/pool/main/o/openssl/" + BASE="http://ports.ubuntu.com/pool/main/o/openssl" + RELEASE="1ubuntu2" else - BASE="http://security.ubuntu.com/ubuntu/pool/main/o/openssl/" + BASE="http://security.ubuntu.com/ubuntu/pool/main/o/openssl" + RELEASE="1ubuntu2" fi -wget $BASE/libssl1.1_1.1.1f-1ubuntu2.20_${ARCH}.deb -wget $BASE/libssl-dev_1.1.1f-1ubuntu2.20_${ARCH}.deb -dpkg -i libssl1.1_1.1.1f-1ubuntu2.20_${ARCH}.deb -dpkg -i libssl-dev_1.1.1f-1ubuntu2.20_${ARCH}.deb -rm libssl1.1_1.1.1f-1ubuntu2.20_${ARCH}.deb libssl-dev_1.1.1f-1ubuntu2.20_${ARCH}.deb +wget ${BASE}/libssl1.1_${SSLVERSION}-${RELEASE}_${ARCH}.deb +wget ${BASE}/libssl-dev_${SSLVERSION}-${RELEASE}_${ARCH}.deb +dpkg -i libssl1.1_${SSLVERSION}-${RELEASE}_${ARCH}.deb +dpkg -i libssl-dev_${SSLVERSION}-${RELEASE}_${ARCH}.deb +rm libssl1.1_${SSLVERSION}-${RELEASE}_${ARCH}.deb libssl-dev_${SSLVERSION}-${RELEASE}_${ARCH}.deb