diff --git a/linux/advanced/vscode-server/dotnet-full/Dockerfile b/linux/advanced/vscode-server/dotnet-full/Dockerfile index c7569fd6c..5b1359f11 100644 --- a/linux/advanced/vscode-server/dotnet-full/Dockerfile +++ b/linux/advanced/vscode-server/dotnet-full/Dockerfile @@ -14,30 +14,14 @@ ENV BuildDocker true ################################################################## # dotnet setup ################################################################## -ENV DOTNET_CHANNEL=LTS +ENV DOTNET_CHANNEL=STS ENV DOTNET_ROOT=${EMG_LOCAL_BASE_DIR}/dotnet/${DOTNET_CHANNEL} ARG DOTNET_TOOLS_DIR=${DOTNET_ROOT}/tools ARG DOTNET_INSTALL_DIR=${DOTNET_ROOT} ARG DOTNET_INSTALL_SCRIPT_URL=https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -# Opt out of the telemetry feature ENV DOTNET_CLI_TELEMETRY_OPTOUT=true -# Disable first time experience ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true -# Configure Kestrel web server to bind to port 80 when present -ENV ASPNETCORE_URLS=\ -# Enable detection of running in a container -ENV DOTNET_RUNNING_IN_CONTAINER=true -# Enable correct mode for dotnet watch (only mode supported in a container) -ENV DOTNET_USE_POLLING_FILE_WATCHER=true -# Skip extraction of XML docs - generally not useful within an image/container - helps perfomance -ENV NUGET_XMLDOC_MODE=skip -# unofficial support of openssl1.1 instead of 1.0 [https://stackoverflow.com/questions/51901359] -ENV CLR_OPENSSL_VERSION_OVERRIDE=45 -# PowerShell telemetry for docker image usage -ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-20.04 - -RUN mkdir -p /usr/share/dotnet/host/fxr ################################################################## # installing dotnet @@ -65,9 +49,9 @@ RUN echo "=============================================" && \ # Mono ################################################################## RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \ - echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \ +# echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \ # echo "deb https://download.mono-project.com/repo/ubuntu nightly-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-nightly.list && \ -# echo "deb https://download.mono-project.com/repo/ubuntu preview-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \ + echo "deb https://download.mono-project.com/repo/ubuntu preview-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \ apt-get update && \ apt-get install -y --allow-unauthenticated \ mono-complete \ diff --git a/linux/advanced/vscode-server/dotnet/Dockerfile b/linux/advanced/vscode-server/dotnet/Dockerfile index ae445cdc3..53829e0a5 100644 --- a/linux/advanced/vscode-server/dotnet/Dockerfile +++ b/linux/advanced/vscode-server/dotnet/Dockerfile @@ -14,31 +14,14 @@ ENV BuildDocker true ################################################################## # dotnet setup ################################################################## -ENV DOTNET_CHANNEL=LTS +ENV DOTNET_CHANNEL=STS ENV DOTNET_ROOT=${EMG_LOCAL_BASE_DIR}/dotnet/${DOTNET_CHANNEL} ARG DOTNET_TOOLS_DIR=${DOTNET_ROOT}/tools ARG DOTNET_INSTALL_DIR=${DOTNET_ROOT} ARG DOTNET_INSTALL_SCRIPT_URL=https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh -# Opt out of the telemetry feature ENV DOTNET_CLI_TELEMETRY_OPTOUT=true -# Disable first time experience ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true -# Configure Kestrel web server to bind to port 80 when present -ENV ASPNETCORE_URLS=\ -# Enable detection of running in a container -ENV DOTNET_RUNNING_IN_CONTAINER=true -# Enable correct mode for dotnet watch (only mode supported in a container) -ENV DOTNET_USE_POLLING_FILE_WATCHER=true -# Skip extraction of XML docs - generally not useful within an image/container - helps perfomance -ENV NUGET_XMLDOC_MODE=skip -# unofficial support of openssl1.1 instead of 1.0 [https://stackoverflow.com/questions/51901359] -ENV CLR_OPENSSL_VERSION_OVERRIDE=45 -# PowerShell telemetry for docker image usage -ENV POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-20.04 - - -RUN mkdir -p /usr/share/dotnet/host/fxr ################################################################## # installing dotnet diff --git a/linux/advanced/vscode-server/mono/Dockerfile b/linux/advanced/vscode-server/mono/Dockerfile index 9540bfbd6..07d0202b8 100644 --- a/linux/advanced/vscode-server/mono/Dockerfile +++ b/linux/advanced/vscode-server/mono/Dockerfile @@ -15,9 +15,9 @@ ENV BuildDocker true # Mono ################################################################## RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \ - echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \ +# echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \ # echo "deb https://download.mono-project.com/repo/ubuntu nightly-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-nightly.list && \ -# echo "deb https://download.mono-project.com/repo/ubuntu preview-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \ + echo "deb https://download.mono-project.com/repo/ubuntu preview-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \ apt-get update && \ apt-get install -y --allow-unauthenticated \ mono-complete \