From 1c908fe51f82a03226f41ea91f2cb1e7f2956210 Mon Sep 17 00:00:00 2001 From: Andres Moschini Date: Mon, 24 Apr 2023 14:05:57 -0300 Subject: [PATCH] chore: remove SQL patch --- Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 215f8ed..049b387 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,12 +30,6 @@ FROM build AS publish RUN dotnet publish "./Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj" -c Release -o /app/publish FROM mcr.microsoft.com/dotnet/aspnet:7.0.5-bullseye-slim AS final -# We need these changes in openssl.cnf to access to our SQL Server instances in QA and INT environments -# See more information in https://stackoverflow.com/questions/56473656/cant-connect-to-sql-server-named-instance-from-asp-net-core-running-in-docker/59391426#59391426 -RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf \ - && sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl/openssl.cnf \ - && sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /usr/lib/ssl/openssl.cnf \ - && sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /usr/lib/ssl/openssl.cnf WORKDIR /app EXPOSE 80 COPY --from=publish /app/publish .