Skip to content

Commit

Permalink
Merge branch 'nightly' of https://github.com/dotnet/dotnet-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed May 6, 2018
2 parents 540f318 + a56b9a1 commit 43bc166
Show file tree
Hide file tree
Showing 35 changed files with 275 additions and 192 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
**/out
**/.vscode
**/.vs
.dotnet
2 changes: 1 addition & 1 deletion 1.0/runtime/jessie/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:1.0-runtime-deps
FROM microsoft/dotnet-nightly:1.0-runtime-deps

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion 1.1/runtime/jessie/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:1.0-runtime-deps
FROM microsoft/dotnet-nightly:1.0-runtime-deps

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion 2.0/runtime/jessie/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.0-runtime-deps-jessie
FROM microsoft/dotnet-nightly:2.0-runtime-deps-jessie

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion 2.0/runtime/stretch/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.0-runtime-deps
FROM microsoft/dotnet-nightly:2.0-runtime-deps

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion 2.0/runtime/stretch/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.0-runtime-deps-stretch-arm32v7
FROM microsoft/dotnet-nightly:2.0-runtime-deps-stretch-arm32v7

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM microsoft/dotnet:2.1-runtime-deps-alpine
FROM microsoft/dotnet-nightly:2.1-runtime-deps-alpine3.7

# Workaround https://github.com/aspnet/libuv-package/issues/23
# Install libuv globally and link it so coreclr can laod it
RUN apk add --no-cache libuv \
&& ln -s /usr/lib/libuv.so.1 /usr/lib/libuv.so

# Install ASP.NET Core
ENV ASPNETCORE_VERSION 2.1.0-preview2-final
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN apk add --no-cache --virtual .build-deps \
openssl \
&& wget -O aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-alpine.3.6-x64.tar.gz \
&& aspnetcore_sha512='c5c166c5f31ab0ba7393d1a1688fc1b1bc0c20856f9b7e7aa94ca9a8452db6e2584c722694cc59011b66134a74afbd6be16ec2d401694d704559bbb9f81d3e35' \
&& aspnetcore_sha512='0b53ef74883c1753607c2e8687f98facaa26b15110de91fe0245190ecf12e7f79eaede2b48830593165033f3cc17cf70a7806e53ad093a9223bb5c1c68c9edcc' \
&& echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf aspnetcore.tar.gz -C /usr/share/dotnet \
Expand Down
6 changes: 3 additions & 3 deletions 2.1/aspnetcore-runtime/bionic/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-bionic
FROM microsoft/dotnet-nightly:2.1-runtime-deps-bionic

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core
ENV ASPNETCORE_VERSION 2.1.0-preview2-final
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN curl -SL --output aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-x64.tar.gz \
&& aspnetcore_sha512='4bbc0f25623947048430f5e44a0d3dc444f13fb8fd0058b148f86ef31a0167c35c72accf6c713c92762840bd0059890417e5ebed0c408e5f7d4f25ea2e3844c1' \
&& aspnetcore_sha512='47ea84b6377c8002cb01759a3d630d1e7c7996ced8f8a5e847c145c398c274a7fce3010c99c09f1d1ede0a27d4917631dd484f2246457bc621ed39345940bb8e' \
&& echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf aspnetcore.tar.gz -C /usr/share/dotnet \
Expand Down
18 changes: 18 additions & 0 deletions 2.1/aspnetcore-runtime/bionic/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM microsoft/dotnet-nightly:2.1-runtime-deps-bionic-arm32v7

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install ASP.NET Core
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN curl -SL --output aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-arm.tar.gz \
&& aspnetcore_sha512='d00bbad4e3f4ef1ae1d16459e5ce44a9461982793fcabd588020043869d764ba4c243fedbfe979d0b45dd9e9659a1e28f6625c807cc1aabcfc4b49daa5ed1049' \
&& echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf aspnetcore.tar.gz -C /usr/share/dotnet \
&& rm aspnetcore.tar.gz \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

4 changes: 2 additions & 2 deletions 2.1/aspnetcore-runtime/nanoserver-1709/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ FROM microsoft/windowsservercore:1709 AS installer-env
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Install ASP.NET Core Runtime
ENV ASPNETCORE_VERSION 2.1.0-preview2-final
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN Invoke-WebRequest -OutFile aspnetcore.zip https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$Env:ASPNETCORE_VERSION/aspnetcore-runtime-$Env:ASPNETCORE_VERSION-win-x64.zip; `
$aspnetcore_sha512 = '5e247e07e29dc6932bdd810911461e78c16d30c5724403953d20971383be06dbed7b579a21a10b0da7d90ada884ef9f2d8a9ea7dfc442bcb4cefbc1a397c00bb'; `
$aspnetcore_sha512 = '44dbe41c035f837a683b9d5a0646ac4c8982e680b18547aa1082cf23d1f56e27eff98d9272e6d5e6d436a4d83238fbfc9a4e6e1cfe317b0be301a22192aa9926'; `
if ((Get-FileHash aspnetcore.zip -Algorithm sha512).Hash -ne $aspnetcore_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions 2.1/aspnetcore-runtime/nanoserver-sac2016/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ FROM microsoft/nanoserver:sac2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Install ASP.NET Core Runtime
ENV ASPNETCORE_VERSION 2.1.0-preview2-final
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN Invoke-WebRequest -OutFile aspnetcore.zip https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$Env:ASPNETCORE_VERSION/aspnetcore-runtime-$Env:ASPNETCORE_VERSION-win-x64.zip; `
$aspnetcore_sha512 = '5e247e07e29dc6932bdd810911461e78c16d30c5724403953d20971383be06dbed7b579a21a10b0da7d90ada884ef9f2d8a9ea7dfc442bcb4cefbc1a397c00bb'; `
$aspnetcore_sha512 = '44dbe41c035f837a683b9d5a0646ac4c8982e680b18547aa1082cf23d1f56e27eff98d9272e6d5e6d436a4d83238fbfc9a4e6e1cfe317b0be301a22192aa9926'; `
if ((Get-FileHash aspnetcore.zip -Algorithm sha512).Hash -ne $aspnetcore_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
6 changes: 3 additions & 3 deletions 2.1/aspnetcore-runtime/stretch-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-stretch-slim
FROM microsoft/dotnet-nightly:2.1-runtime-deps-stretch-slim

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install ASP.NET Core
ENV ASPNETCORE_VERSION 2.1.0-preview2-final
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN curl -SL --output aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-x64.tar.gz \
&& aspnetcore_sha512='4bbc0f25623947048430f5e44a0d3dc444f13fb8fd0058b148f86ef31a0167c35c72accf6c713c92762840bd0059890417e5ebed0c408e5f7d4f25ea2e3844c1' \
&& aspnetcore_sha512='47ea84b6377c8002cb01759a3d630d1e7c7996ced8f8a5e847c145c398c274a7fce3010c99c09f1d1ede0a27d4917631dd484f2246457bc621ed39345940bb8e' \
&& echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf aspnetcore.tar.gz -C /usr/share/dotnet \
Expand Down
17 changes: 17 additions & 0 deletions 2.1/aspnetcore-runtime/stretch-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM microsoft/dotnet-nightly:2.1-runtime-deps-stretch-slim-arm32v7

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install ASP.NET Core
ENV ASPNETCORE_VERSION 2.1.0-rc1-30678

RUN curl -SL --output aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-arm.tar.gz \
&& aspnetcore_sha512='d00bbad4e3f4ef1ae1d16459e5ce44a9461982793fcabd588020043869d764ba4c243fedbfe979d0b45dd9e9659a1e28f6625c807cc1aabcfc4b49daa5ed1049' \
&& echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf aspnetcore.tar.gz -C /usr/share/dotnet \
&& rm aspnetcore.tar.gz \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.6
FROM alpine:3.7

RUN apk add --no-cache \
ca-certificates \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM microsoft/dotnet:2.1-runtime-deps-alpine
FROM microsoft/dotnet-nightly:2.1-runtime-deps-alpine3.7

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN apk add --no-cache --virtual .build-deps \
openssl \
&& wget -O dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-alpine.3.6-x64.tar.gz \
&& dotnet_sha512='2db0ecfc7107cdc77f1d17e6441418dd9dcccc0656267eb5a0373781ab3a98870bf4f2d068a06446d9ef8be36bfdda73a9bcf8fb38c7413539689bd6c6f8dd9d' \
&& wget -O dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-musl-x64.tar.gz \
&& dotnet_sha512='7b6734c573358dcd4ddec43da53d44104982484727b20d1f3872e5c88d37b8458c843efdcfe3fffeeee3de2fe2192c17d1d7822ce83bf122e67eb59c905b4a6b' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -C /usr/share/dotnet -xzf dotnet.tar.gz \
Expand Down
6 changes: 3 additions & 3 deletions 2.1/runtime/bionic/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-bionic
FROM microsoft/dotnet-nightly:2.1-runtime-deps-bionic

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-x64.tar.gz \
&& dotnet_sha512='9f8dce51f0438e0cff5fbdf38a60c620d879825902aae4d59ec026c6cfd0f6d2237f220a5346836e6e3c50a5be7b357443ab4ae01f85c596abceec12a8dc29d7' \
&& dotnet_sha512='ec281c595ce75a42745ec9d1b49574f22fc7c30102b833ca60858563cb97d797eb4d95a1b2398222c7000487fb406a69eed56cef0afd5db854205fbe0cd1ec09' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
6 changes: 3 additions & 3 deletions 2.1/runtime/bionic/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-bionic-arm32v7
FROM microsoft/dotnet-nightly:2.1-runtime-deps-bionic-arm32v7

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-arm.tar.gz \
&& dotnet_sha512='0fdbf36d7c87c2580e91a39db527b0613f981999e16f035f559286d727f4a5388dcf033cd5fe91a43e6387c607298c1cd7bd1f17abaf5206a5fce53afddceced' \
&& dotnet_sha512='d1b0c53668628202d16b1d583d4d82e15489d1e7409f21aa3f82e857671e20c36fe755cbec3cfb7d31bf390ebb067c8082b6e0c6971c89717eb3aaf09e9121e8' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
4 changes: 2 additions & 2 deletions 2.1/runtime/nanoserver-1709/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ FROM microsoft/windowsservercore:1709 AS installer-env
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Retrieve .NET Core Runtime
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN Invoke-WebRequest -OutFile dotnet.zip https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$Env:DOTNET_VERSION/dotnet-runtime-$Env:DOTNET_VERSION-win-x64.zip; `
$dotnet_sha512 = 'eabf2cb0fbaa096739b5e25fb43ebe7b3a8a62756e25cdccf740658a0b7d1166259645c61f8c6e5c1c3577d440ee6285c9ce504ad6b9f66ba9d7fd71c211bd1a'; `
$dotnet_sha512 = '35cf3dff25a09342e43ded2833445dcc745584619755f4cd25117e0613ce339d50edae39ab8fe85c2d3cf40b70deb052483d6f66d6daba61a6aa86f640450a5d'; `
if ((Get-FileHash dotnet.zip -Algorithm sha512).Hash -ne $dotnet_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions 2.1/runtime/nanoserver-sac2016/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FROM microsoft/nanoserver:sac2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN Invoke-WebRequest -OutFile dotnet.zip https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$Env:DOTNET_VERSION/dotnet-runtime-$Env:DOTNET_VERSION-win-x64.zip; `
$dotnet_sha512 = 'eabf2cb0fbaa096739b5e25fb43ebe7b3a8a62756e25cdccf740658a0b7d1166259645c61f8c6e5c1c3577d440ee6285c9ce504ad6b9f66ba9d7fd71c211bd1a'; `
$dotnet_sha512 = '35cf3dff25a09342e43ded2833445dcc745584619755f4cd25117e0613ce339d50edae39ab8fe85c2d3cf40b70deb052483d6f66d6daba61a6aa86f640450a5d'; `
if ((Get-FileHash dotnet.zip -Algorithm sha512).Hash -ne $dotnet_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
6 changes: 3 additions & 3 deletions 2.1/runtime/stretch-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-stretch-slim
FROM microsoft/dotnet-nightly:2.1-runtime-deps-stretch-slim

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-x64.tar.gz \
&& dotnet_sha512='9f8dce51f0438e0cff5fbdf38a60c620d879825902aae4d59ec026c6cfd0f6d2237f220a5346836e6e3c50a5be7b357443ab4ae01f85c596abceec12a8dc29d7' \
&& dotnet_sha512='ec281c595ce75a42745ec9d1b49574f22fc7c30102b833ca60858563cb97d797eb4d95a1b2398222c7000487fb406a69eed56cef0afd5db854205fbe0cd1ec09' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
6 changes: 3 additions & 3 deletions 2.1/runtime/stretch-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM microsoft/dotnet:2.1-runtime-deps-stretch-slim-arm32v7
FROM microsoft/dotnet-nightly:2.1-runtime-deps-stretch-slim-arm32v7

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core
ENV DOTNET_VERSION 2.1.0-preview2-26406-04
ENV DOTNET_VERSION 2.1.0-rc1-26426-04

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-arm.tar.gz \
&& dotnet_sha512='0fdbf36d7c87c2580e91a39db527b0613f981999e16f035f559286d727f4a5388dcf033cd5fe91a43e6387c607298c1cd7bd1f17abaf5206a5fce53afddceced' \
&& dotnet_sha512='d1b0c53668628202d16b1d583d4d82e15489d1e7409f21aa3f82e857671e20c36fe755cbec3cfb7d31bf390ebb067c8082b6e0c6971c89717eb3aaf09e9121e8' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet:2.1-runtime-deps-alpine
FROM microsoft/dotnet-nightly:2.1-runtime-deps-alpine3.7

# Disable the invariant mode (set in base image)
RUN apk add --no-cache icu-libs
Expand All @@ -8,12 +8,12 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
LANG=en_US.UTF-8

# Install .NET Core SDK
ENV DOTNET_SDK_VERSION 2.1.300-preview2-008530
ENV DOTNET_SDK_VERSION 2.1.300-rc1-008671

RUN apk add --no-cache --virtual .build-deps \
openssl \
&& wget -O dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-alpine.3.6-x64.tar.gz \
&& dotnet_sha512='2b52ab97ed874a6251ac14376049a94a10c70c2b867e38500143ba37bd8517760df72a027c6865ead1faa6504718c1384942d4bbc7842093afbe123e83f2997c' \
&& wget -O dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-musl-x64.tar.gz \
&& dotnet_sha512='a3467ece8ad6db534e1cbe8377aa7e6d4fddfa31880c4f76e930b3b150b4e70a2bbe6ac0d0530910548e68bfae9ebde5b812de8ab500370e3be0241e4c83605a' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -C /usr/share/dotnet -xzf dotnet.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions 2.1/sdk/bionic/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core SDK
ENV DOTNET_SDK_VERSION 2.1.300-preview2-008530
ENV DOTNET_SDK_VERSION 2.1.300-rc1-008671

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-x64.tar.gz \
&& dotnet_sha512='034863bdb94a4e752d286eeac10638a012c4bae94a9bff46ee96fb7ea733554f0083d989ecf983274fcbe5c27974e16a7287c3bcca98626380b12e811fdd9174' \
&& dotnet_sha512='189d253bd77fbbf8f610df098c0a0c39d9d51afbd1c345115c443ea6c5497ba0da7aa65387a48de7ec45469d4ff7966642dd01c4a48f979a1700880ccadf50ff' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
4 changes: 2 additions & 2 deletions 2.1/sdk/bionic/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Install .NET Core SDK
ENV DOTNET_SDK_VERSION 2.1.300-preview2-008530
ENV DOTNET_SDK_VERSION 2.1.300-rc1-008671

RUN curl -SL --output dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-arm.tar.gz \
&& dotnet_sha512='6f2a98d604055ba5e44262dbee6492691f03a581e4768f43efbaacff2a3893bb9f5c1565a47c3c021f2a88ac49d16564b57c43e4563f2320a36e813b1702a628' \
&& dotnet_sha512='4bb4abed7933cefd430ad066ab0a74b1622fb70d07073aa2f84cfe04e0f511ce1a339f3add479f52dca206872ee1adc5a3696b0e62d43bb18b795a7fa4b57b6f' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -zxf dotnet.tar.gz -C /usr/share/dotnet \
Expand Down
4 changes: 2 additions & 2 deletions 2.1/sdk/nanoserver-1709/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ FROM microsoft/windowsservercore:1709 AS installer-env
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Retrieve .NET Core SDK
ENV DOTNET_SDK_VERSION 2.1.300-preview2-008530
ENV DOTNET_SDK_VERSION 2.1.300-rc1-008671

RUN Invoke-WebRequest -OutFile dotnet.zip https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$Env:DOTNET_SDK_VERSION/dotnet-sdk-$Env:DOTNET_SDK_VERSION-win-x64.zip; `
$dotnet_sha512 = '7d74e01cefcb3fa5740204d2f089e6f355ac615e2a4efa70facf73697b0f4f59c1f67d65818124b22e8e857a618b0a52ad24655f9c1b326389aa96a450ae3db6'; `
$dotnet_sha512 = 'c5202a81368f3f64b1460bf3434e052cfe0e1437db604d677af4be6b9788333c3b525e983d85668be00e40513fae42a3331061b585f12fe10280b8edfc3827cf'; `
if ((Get-FileHash dotnet.zip -Algorithm sha512).Hash -ne $dotnet_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
4 changes: 2 additions & 2 deletions 2.1/sdk/nanoserver-sac2016/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FROM microsoft/nanoserver:sac2016
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# Install .NET Core SDK
ENV DOTNET_SDK_VERSION 2.1.300-preview2-008530
ENV DOTNET_SDK_VERSION 2.1.300-rc1-008671

RUN Invoke-WebRequest -OutFile dotnet.zip https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$Env:DOTNET_SDK_VERSION/dotnet-sdk-$Env:DOTNET_SDK_VERSION-win-x64.zip; `
$dotnet_sha512 = '7d74e01cefcb3fa5740204d2f089e6f355ac615e2a4efa70facf73697b0f4f59c1f67d65818124b22e8e857a618b0a52ad24655f9c1b326389aa96a450ae3db6'; `
$dotnet_sha512 = 'c5202a81368f3f64b1460bf3434e052cfe0e1437db604d677af4be6b9788333c3b525e983d85668be00e40513fae42a3331061b585f12fe10280b8edfc3827cf'; `
if ((Get-FileHash dotnet.zip -Algorithm sha512).Hash -ne $dotnet_sha512) { `
Write-Host 'CHECKSUM VERIFICATION FAILED!'; `
exit 1; `
Expand Down
Loading

0 comments on commit 43bc166

Please sign in to comment.