Skip to content

Commit 9098158

Browse files
committed
nginx版本更新至1.26.3,nginx-http-flv-modoule更新版本至1.2.12
1 parent efcdc76 commit 9098158

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/docker-image.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ jobs:
6767
fi
6868
6969
# 创建一个多平台构建环境
70-
docker buildx create --name multi-platform --use --platform linux/amd64,linux/arm64 --driver docker-container
70+
docker buildx create --name multi-platform --use --platform linux/386,linux/arm/v7,linux/arm/v6,linux/arm64/v8,linux/s390x,linux/riscv64,linux/arm64,linux/amd64,linux/ppc64le --driver docker-container
7171
# 进行 push
72-
docker buildx build --platform linux/arm64,linux/arm64/v8,linux/ppc64le,linux/amd64,linux/386 -t $IMAGE_ID:$VERSION . --push
72+
docker buildx build --platform linux/386,linux/arm/v7,linux/arm/v6,linux/arm64/v8,linux/s390x,linux/riscv64,linux/arm64,linux/amd64,linux/ppc64le -t $IMAGE_ID:$VERSION . --push
7373
if [[ $VERSION != *"ffmpeg"* ]]; then
74-
docker buildx build --platform linux/arm64,linux/arm64/v8,linux/ppc64le,linux/amd64,linux/386 -t $IMAGE_ID:latest . --push
74+
docker buildx build --platform linux/386,linux/arm/v7,linux/arm/v6,linux/arm64/v8,linux/s390x,linux/riscv64,linux/arm64,linux/amd64,linux/ppc64le -t $IMAGE_ID:latest . --push
7575
fi

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG NGINX_VERSION=1.26.2
2-
ARG NGINX_HTTP_FLV_MODULE=1.2.11
1+
ARG NGINX_VERSION=1.26.3
2+
ARG NGINX_HTTP_FLV_MODULE=1.2.12
33
ARG HTTP_PORT=80
44
ARG HTTPS_PORT=443
55
ARG RTMP_PORT=1935
@@ -15,8 +15,8 @@ WORKDIR /workspace
1515

1616
# Get nginx and Get nginx-http-flv-module
1717
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories\
18-
&& apk update \
19-
&& apk add --no-cache g++ pcre-dev zlib-dev make openssl openssl-dev\
18+
&& apk update \
19+
&& apk add --no-cache g++ pcre-dev zlib-dev make openssl openssl-dev\
2020
&& wget https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz\
2121
&& tar -zxvf nginx-${NGINX_VERSION}.tar.gz\
2222
&& rm nginx-${NGINX_VERSION}.tar.gz\

0 commit comments

Comments
 (0)