Skip to content

Commit 8df32d9

Browse files
committed
update versions filter
1 parent 631e361 commit 8df32d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN \
88
jq && \
99
DOTNET_JSON=$(curl -sX GET "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json") && \
1010
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); \
11+
DOTNET_VERSIONS=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' ' ' | head -c -1); \
1212
fi && \
1313
mkdir -p /root-layer/dotnet && \
1414
echo "$DOTNET_VERSIONS" > /root-layer/dotnet/versions.txt && \

0 commit comments

Comments
 (0)