This commit is contained in:
2026-05-19 15:36:16 +08:00
parent 431dd2ab36
commit cb6c0202f7
7 changed files with 39 additions and 13 deletions

View File

@@ -1,8 +1,9 @@
ARG ARCH
FROM harbor.colben.cn/general/alpine$ARCH:3.20
FROM harbor.colben.cn/general/alpine$ARCH:3.23
MAINTAINER Colben colbenlee@gmail.com
ADD --chown=root:root /ADD/ /opt/
RUN apk update \
RUN sed -i 's/v3.23/edge/' /etc/apk/repositories \
&& apk update \
&& apk add --no-cache nginx nginx-mod-stream \
&& sed -i \
-e '1a\\n# Added by Dockerfile' \

View File

@@ -9,7 +9,7 @@ export LANG=en_US.UTF-8
[ 'x86_64' == "$(uname -m)" ] && ARCH='' || ARCH="-$(uname -m)"
ROOT_DIR="$(cd $(dirname $0) && pwd)"
TAG=$1
TAG=${1:-latest}
IMAGE="harbor.colben.cn/general/$(basename ${0%.sh})$ARCH:$TAG"
if [ -t 0 ]; then