1
0
Fork 0

feat: update openresty Dockerfile

This commit is contained in:
zhengkunwang223 2025-05-09 17:51:05 +08:00 committed by CityFun
parent c04b036ed7
commit b85127ba29
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,6 @@
ARG RESTY_IMAGE_BASE="ubuntu"
ARG RESTY_IMAGE_TAG="focal"
ARG CONTAINER_PACKAGE_URL
ARG PANEL_OPENRESTY_VERSION
FROM 1panel/openresty:${PANEL_OPENRESTY_VERSION} as panel-openresty
@ -115,6 +114,7 @@ LABEL resty_luajit_options="${RESTY_LUAJIT_OPTIONS}"
LABEL resty_pcre_options="${RESTY_PCRE_OPTIONS}"
COPY tmp /tmp
ARG CONTAINER_PACKAGE_URL
RUN sed -i "s|http://archive.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL}|g" /etc/apt/sources.list \
&& sed -i "s|http://security.ubuntu.com/ubuntu/|${CONTAINER_PACKAGE_URL}|g" /etc/apt/sources.list