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.
2 parents 6992a2c + 0aa41ed commit 6c16e35Copy full SHA for 6c16e35
Dockerfile
@@ -1,12 +1,12 @@
1
# syntax=docker/dockerfile:1
2
3
-FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
+FROM ghcr.io/linuxserver/baseimage-alpine:3.23 AS buildstage
4
5
ARG MOD_VERSION
6
7
RUN \
8
DOTNET_JSON=$(curl -sX GET "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json") && \
9
- if [ -z ${MOD_VERSION+x} ]; then \
+ if [ -z "${MOD_VERSION}" ]; then \
10
MOD_VERSION=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' '_' | head -c -1); \
11
fi && \
12
DOTNET_VERSIONS="${MOD_VERSION//_/ }" && \
0 commit comments