Skip to content

Commit dc3d01b

Browse files
joostmeijlesJonne
authored andcommitted
Set docker limits and security for TLS12 (avivasolutionsnl#31)
* Set memory limit as by default Hyper-V isolation only gives 1 GB memory * Fine tune Docker cpu/mem settings * Set security for TLS12
1 parent 2583bf9 commit dc3d01b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solr/DockerFile

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ RUN /Scripts/Install-SIF.ps1
4040

4141
WORKDIR "/solr/solr-6.6.2"
4242

43-
RUN Invoke-WebRequest -Method Get -Uri "https://nssm.cc/release/nssm-2.24.zip" -OutFile /nssm.zip ; `
43+
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
44+
Invoke-WebRequest -Method Get -Uri "https://nssm.cc/release/nssm-2.24.zip" -OutFile /nssm.zip ; `
4445
Expand-Archive -Path /nssm.zip -DestinationPath /nssm ; `
4546
Remove-Item /nssm.zip -Force
4647

0 commit comments

Comments
 (0)