Update to 1.0.4
This commit is contained in:
parent
36c40cb93c
commit
092cb514a9
|
|
@ -17,7 +17,7 @@ ENV PATH $JULIA_PATH/bin:$PATH
|
|||
ENV JULIA_GPG 3673DF529D9049477F76B37566E3C7DC03D6E495
|
||||
|
||||
# https://julialang.org/downloads/
|
||||
ENV JULIA_VERSION 1.0.3
|
||||
ENV JULIA_VERSION 1.0.4
|
||||
|
||||
RUN set -eux; \
|
||||
\
|
||||
|
|
@ -32,18 +32,18 @@ RUN set -eux; \
|
|||
fi; \
|
||||
\
|
||||
# https://julialang.org/downloads/#julia-command-line-version
|
||||
# https://julialang-s3.julialang.org/bin/checksums/julia-1.0.3.sha256
|
||||
# https://julialang-s3.julialang.org/bin/checksums/julia-1.0.4.sha256
|
||||
# this "case" statement is generated via "update.sh"
|
||||
dpkgArch="$(dpkg --print-architecture)"; \
|
||||
case "${dpkgArch##*-}" in \
|
||||
# amd64
|
||||
amd64) tarArch='x86_64'; dirArch='x64'; sha256='362ba867d2df5d4a64f824e103f19cffc3b61cf9d5a9066c657f1c5b73c87117' ;; \
|
||||
amd64) tarArch='x86_64'; dirArch='x64'; sha256='bb9e33d95f47e703d9199f0358c038c61259e2ff9f3fd515c919729ace89443c' ;; \
|
||||
# arm32v7
|
||||
armhf) tarArch='armv7l'; dirArch='armv7l'; sha256='87c489ed92b1a17b231988ce59d64151b1e68700e6d503ded6085829d5587bc6' ;; \
|
||||
armhf) tarArch='armv7l'; dirArch='armv7l'; sha256='2e742f4ddf5ac21779b6943ef210d73dc02f1c6de23836b352336a3dcbb18ae6' ;; \
|
||||
# arm64v8
|
||||
arm64) tarArch='aarch64'; dirArch='aarch64'; sha256='75f43df36d71cb2bf3106b9e16670cc152e2a31f8ea6d761a6fe1d630ead05c3' ;; \
|
||||
arm64) tarArch='aarch64'; dirArch='aarch64'; sha256='7614d4239702c497330c043f37d99600b41e87caa8b92742c7104915eb54648a' ;; \
|
||||
# i386
|
||||
i386) tarArch='i686'; dirArch='x86'; sha256='6c8cc02d63a602870f78e66d0fdeb7e26e75b3eba558a133a86420e1273bbdc1' ;; \
|
||||
i386) tarArch='i686'; dirArch='x86'; sha256='89b71a3558aa4f515becfd21d19651035d909f5f2e3177ccaec77aee01f962b7' ;; \
|
||||
*) echo >&2 "error: current architecture ($dpkgArch) does not have a corresponding Julia binary release"; exit 1 ;; \
|
||||
esac; \
|
||||
\
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ FROM microsoft/windowsservercore:1803
|
|||
# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
ENV JULIA_VERSION 1.0.3
|
||||
ENV JULIA_SHA256 e62d2755e38dcd100a76bb88b895e3ca3fde586b6bf4b38ea6e801d9b8066ce2
|
||||
ENV JULIA_VERSION 1.0.4
|
||||
ENV JULIA_SHA256 8d26ac8181b2be109ec811767ea87d45afc6e3bc45c56c3cb78df14ca6d8c829
|
||||
|
||||
RUN $url = ('https://julialang-s3.julialang.org/bin/winnt/x64/{1}/julia-{0}-win64.exe' -f $env:JULIA_VERSION, ($env:JULIA_VERSION.Split('.')[0..1] -Join '.')); \
|
||||
Write-Host ('Downloading {0} ...' -f $url); \
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ FROM microsoft/windowsservercore:ltsc2016
|
|||
# $ProgressPreference: https://github.com/PowerShell/PowerShell/issues/2138#issuecomment-251261324
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
ENV JULIA_VERSION 1.0.3
|
||||
ENV JULIA_SHA256 e62d2755e38dcd100a76bb88b895e3ca3fde586b6bf4b38ea6e801d9b8066ce2
|
||||
ENV JULIA_VERSION 1.0.4
|
||||
ENV JULIA_SHA256 8d26ac8181b2be109ec811767ea87d45afc6e3bc45c56c3cb78df14ca6d8c829
|
||||
|
||||
RUN $url = ('https://julialang-s3.julialang.org/bin/winnt/x64/{1}/julia-{0}-win64.exe' -f $env:JULIA_VERSION, ($env:JULIA_VERSION.Split('.')[0..1] -Join '.')); \
|
||||
Write-Host ('Downloading {0} ...' -f $url); \
|
||||
|
|
|
|||
Loading…
Reference in New Issue