Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cl-docker-images
ccl
Commits
5f9d97ca
Commit
5f9d97ca
authored
Nov 03, 2020
by
Eric Timmons
Browse files
Change Windows SecurityProtocol for downloads
parent
248897a7
Pipeline
#1990
passed with stages
in 2 minutes and 53 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
1.12/windowsservercore-1809/Dockerfile
View file @
5f9d97ca
...
@@ -8,6 +8,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
...
@@ -8,6 +8,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV
CCL_VERSION=1.12
ENV
CCL_VERSION=1.12
RUN
$srcurl
=
(
'https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip'
-f
$env
:CCL_VERSION
)
;
`
RUN
$srcurl
=
(
'https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip'
-f
$env
:CCL_VERSION
)
;
`
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Write-Host ('Downloading {0}' -f $srcurl); `
Write-Host ('Downloading {0}' -f $srcurl); `
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; `
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; `
Write-Host 'Done downloading'; `
Write-Host 'Done downloading'; `
...
...
1.12/windowsservercore-ltsc2016/Dockerfile
View file @
5f9d97ca
...
@@ -8,6 +8,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
...
@@ -8,6 +8,7 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV
CCL_VERSION=1.12
ENV
CCL_VERSION=1.12
RUN
$srcurl
=
(
'https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip'
-f
$env
:CCL_VERSION
)
;
`
RUN
$srcurl
=
(
'https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-windowsx86.zip'
-f
$env
:CCL_VERSION
)
;
`
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Write-Host ('Downloading {0}' -f $srcurl); `
Write-Host ('Downloading {0}' -f $srcurl); `
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; `
Invoke-WebRequest -Uri $srcurl -OutFile ccl.zip -UserAgent "NativeHost"; `
Write-Host 'Done downloading'; `
Write-Host 'Done downloading'; `
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment