This commit is contained in:
aptalca
2023-04-13 14:26:03 -04:00
parent bd979a3433
commit 50219153d2
+1 -1
View File
@@ -7,7 +7,7 @@ RUN \
if [ -z ${MOD_VERSION+x} ]; then \
MOD_VERSION=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' '_' | head -c -1); \
fi && \
DOTNET_VERSIONS="${MOD_VERSION//_/ }"
DOTNET_VERSIONS="${MOD_VERSION//_/ }" && \
mkdir -p /root-layer/dotnet && \
echo "$DOTNET_VERSIONS" > /root-layer/dotnet/versions.txt && \
echo "versions are ${DOTNET_VERSIONS}" && \