Skip to content

Commit 1c908fe

Browse files
chore: remove SQL patch
1 parent a20c27d commit 1c908fe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ FROM build AS publish
3030
RUN dotnet publish "./Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj" -c Release -o /app/publish
3131

3232
FROM mcr.microsoft.com/dotnet/aspnet:7.0.5-bullseye-slim AS final
33-
# We need these changes in openssl.cnf to access to our SQL Server instances in QA and INT environments
34-
# 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
35-
RUN sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf \
36-
&& sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl/openssl.cnf \
37-
&& sed -i 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /usr/lib/ssl/openssl.cnf \
38-
&& sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /usr/lib/ssl/openssl.cnf
3933
WORKDIR /app
4034
EXPOSE 80
4135
COPY --from=publish /app/publish .

0 commit comments

Comments
 (0)