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
ad400561
Commit
ad400561
authored
Oct 03, 2021
by
Eric Timmons
Browse files
Fix Windows SHA256.
parent
4eeb59e5
Pipeline
#4928
failed with stages
in 36 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
1.12.1/windowsservercore-1809/Dockerfile
View file @
ad400561
...
@@ -56,7 +56,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
...
@@ -56,7 +56,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
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'
;
\
$expectedsha256
=
'
F1BA6CFF353F6E6E13828F41DC92A723C01766AE38DCFF774905C9E02D59ED04
'
;
\
$expectedsha256
=
'
05C2BD142B5B573898ADB4839F6F44E726980596B9146BB256952C3728C0ED57
'
;
\
$actualsha256
=
(
Get-FileHash ccl.zip
-Algorithm
sha256
)
.Hash
;
\
$actualsha256
=
(
Get-FileHash ccl.zip
-Algorithm
sha256
)
.Hash
;
\
Write-Host
(
'Verifying sha256 {0} (expected: {1})'
-f
$actualsha256
,
$expectedsha256
)
;
\
Write-Host
(
'Verifying sha256 {0} (expected: {1})'
-f
$actualsha256
,
$expectedsha256
)
;
\
if
(
$actualsha256
-ne
$expectedsha256
)
{
\
if
(
$actualsha256
-ne
$expectedsha256
)
{
\
...
...
1.12.1/windowsservercore-ltsc2019/Dockerfile
View file @
ad400561
...
@@ -56,7 +56,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
...
@@ -56,7 +56,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
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'
;
\
$expectedsha256
=
'
F1BA6CFF353F6E6E13828F41DC92A723C01766AE38DCFF774905C9E02D59ED04
'
;
\
$expectedsha256
=
'
05C2BD142B5B573898ADB4839F6F44E726980596B9146BB256952C3728C0ED57
'
;
\
$actualsha256
=
(
Get-FileHash ccl.zip
-Algorithm
sha256
)
.Hash
;
\
$actualsha256
=
(
Get-FileHash ccl.zip
-Algorithm
sha256
)
.Hash
;
\
Write-Host
(
'Verifying sha256 {0} (expected: {1})'
-f
$actualsha256
,
$expectedsha256
)
;
\
Write-Host
(
'Verifying sha256 {0} (expected: {1})'
-f
$actualsha256
,
$expectedsha256
)
;
\
if
(
$actualsha256
-ne
$expectedsha256
)
{
\
if
(
$actualsha256
-ne
$expectedsha256
)
{
\
...
...
Dockerfile-windowsservercore.template
View file @
ad400561
...
@@ -51,7 +51,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
...
@@ -51,7 +51,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
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'; \
$expectedsha256 = '
F1BA6CFF353F6E6E13828F41DC92A723C01766AE38DCFF774905C9E02D59ED04
'; \
$expectedsha256 = '
05C2BD142B5B573898ADB4839F6F44E726980596B9146BB256952C3728C0ED57
'; \
$actualsha256 = (Get-FileHash ccl.zip -Algorithm sha256).Hash; \
$actualsha256 = (Get-FileHash ccl.zip -Algorithm sha256).Hash; \
Write-Host ('Verifying sha256 {0} (expected: {1})' -f $actualsha256, $expectedsha256); \
Write-Host ('Verifying sha256 {0} (expected: {1})' -f $actualsha256, $expectedsha256); \
if ($actualsha256 -ne $expectedsha256) { \
if ($actualsha256 -ne $expectedsha256) { \
...
...
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