Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK image first run handling #2710

Merged
merged 8 commits into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions eng/dockerfile-templates/sdk/6.0/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-{{OS_VERSION}}{{ARCH_TAG_SUFFIX}}
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION={{VARIABLES["sdk|6.0|build-version"]}} \
# Disable the invariant mode (set in base image)
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
Expand Down
5 changes: 5 additions & 0 deletions eng/dockerfile-templates/sdk/6.0/Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-{{OS_VERSION}}{{ARCH_TAG_SUFFIX}}
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION={{VARIABLES["sdk|6.0|build-version"]}} \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions eng/dockerfile-templates/sdk/6.0/Dockerfile.nanoserver
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ ARG DOTNET_SDK_VERSION
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=$DOTNET_SDK_VERSION `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ FROM $REPO:6.0-{{OS_VERSION}}
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION={{VARIABLES["sdk|6.0|build-version"]}} `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/alpine3.13/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-alpine3.13-amd64
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Disable the invariant mode (set in base image)
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/alpine3.13/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-alpine3.13-arm64v8
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Disable the invariant mode (set in base image)
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/bullseye-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-bullseye-slim-amd64
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/bullseye-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-bullseye-slim-arm32v7
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/bullseye-slim/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-bullseye-slim-arm64v8
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/focal/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-focal-amd64
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/focal/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-focal-arm32v7
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/focal/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ FROM $REPO:6.0-focal-arm64v8
ENV \
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= \
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 \
# Do not show first run text
DOTNET_NOLOGO=1 \
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/nanoserver-1809/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ ARG DOTNET_SDK_VERSION
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=$DOTNET_SDK_VERSION `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/nanoserver-1909/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ ARG DOTNET_SDK_VERSION
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=$DOTNET_SDK_VERSION `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/nanoserver-2004/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ ARG DOTNET_SDK_VERSION
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=$DOTNET_SDK_VERSION `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/nanoserver-20H2/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ ARG DOTNET_SDK_VERSION
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=$DOTNET_SDK_VERSION `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down
5 changes: 5 additions & 0 deletions src/sdk/6.0/windowsservercore-ltsc2019/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ FROM $REPO:6.0-windowsservercore-ltsc2019
ENV `
# Unset ASPNETCORE_URLS from aspnet base image
ASPNETCORE_URLS= `
# Do not generate certificate
DOTNET_GENERATE_ASPNET_CERTIFICATE=0 `
# Do not show first run text
DOTNET_NOLOGO=1 `
# SDK version
DOTNET_SDK_VERSION=6.0.100-preview.2.21155.3 `
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true `
Expand Down