mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
update alpine, fix var check
This commit is contained in:
parent
043c07a6db
commit
7e0fc6038c
@ -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-||' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user