We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631e361 commit 8df32d9Copy full SHA for 8df32d9
1 file changed
Dockerfile
@@ -8,7 +8,7 @@ RUN \
8
jq && \
9
DOTNET_JSON=$(curl -sX GET "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json") && \
10
if [ -z ${DOTNET_VERSIONS+x} ]; then \
11
- DOTNET_VERSIONS=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="lts" or ."support-phase"=="current") | ."latest-sdk"' | tr '\n' ' ' | head -c -1); \
+ DOTNET_VERSIONS=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' ' ' | head -c -1); \
12
fi && \
13
mkdir -p /root-layer/dotnet && \
14
echo "$DOTNET_VERSIONS" > /root-layer/dotnet/versions.txt && \
0 commit comments