Skip to content

Commit 6c16e35

Browse files
authored
Merge pull request #1107 from linuxserver/code-server-dotnet-alpine
code-server-dotnet: update alpine to 3.23
2 parents 6992a2c + 0aa41ed commit 6c16e35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.23 AS buildstage
44

55
ARG MOD_VERSION
66

77
RUN \
88
DOTNET_JSON=$(curl -sX GET "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases-index.json") && \
9-
if [ -z ${MOD_VERSION+x} ]; then \
9+
if [ -z "${MOD_VERSION}" ]; then \
1010
MOD_VERSION=$(echo "$DOTNET_JSON" | jq -r '."releases-index"[] | select(."support-phase"=="active" or ."support-phase"=="maintenance") | ."latest-sdk"' | tr '\n' '_' | head -c -1); \
1111
fi && \
1212
DOTNET_VERSIONS="${MOD_VERSION//_/ }" && \

0 commit comments

Comments
 (0)