update alpine, fix var check

This commit is contained in:
aptalca 2025-12-31 13:29:42 -05:00
parent 043c07a6db
commit 7e0fc6038c
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548

View File

@ -1,13 +1,13 @@
# syntax=docker/dockerfile:1
## Buildstage ##
FROM ghcr.io/linuxserver/baseimage-alpine:3.22 AS buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:3.23 AS buildstage
ARG MOD_VERSION
RUN \
echo "**** retrieve latest version ****" && \
if [ -z "${MOD_VERSION+x}" ]; then \
if [ -z "${MOD_VERSION}" ]; then \
DOCKER_RELEASE=$(curl -sX GET "https://api.github.com/repos/moby/moby/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]' \
| sed 's|^docker-||' \