From 4e15b40beec067803dbf022eeb076a4a930cf561 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Tue, 25 Apr 2023 18:20:39 +0300 Subject: [PATCH] removed tls workaround from dockerfile --- src/Tuitio/Dockerfile | 5 ++--- src/Tuitio/Program.cs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Tuitio/Dockerfile b/src/Tuitio/Dockerfile index cc59404..e090566 100644 --- a/src/Tuitio/Dockerfile +++ b/src/Tuitio/Dockerfile @@ -34,8 +34,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ARG APP_VERSION=0.0.0.0 ENV APP_VERSION=${APP_VERSION} - -#Workaround to lower the TLS level in container for old sql server version -RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf +ARG APP_DATE="-" +ENV APP_DATE=${APP_DATE} ENTRYPOINT ["dotnet", "Tuitio.dll"] \ No newline at end of file diff --git a/src/Tuitio/Program.cs b/src/Tuitio/Program.cs index 9e3c23a..f44ccfa 100644 --- a/src/Tuitio/Program.cs +++ b/src/Tuitio/Program.cs @@ -39,7 +39,7 @@ namespace Tuitio.Api } catch (Exception ex) { - Log.Fatal(ex, "Tuitio API host terminated unexpectedly"); + Log.Fatal(ex, "Tuitio API host terminated unexpectedly."); } finally {