Skip to content

Commit

Permalink
nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
elvizlai committed Oct 24, 2024
1 parent 8270ab1 commit 745b7c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nginx/Dockerfile-mainline
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.19 AS builder

COPY build-mainline.sh /opt/build.sh

RUN sh /opt/build.sh 1.27.1
RUN sh /opt/build.sh 1.27.2


FROM alpine:3.19
Expand Down
8 changes: 4 additions & 4 deletions nginx/build-mainline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ cd luajit2.1
make -j4 && make install && cd ..


NGINXVER=${1:-1.27.1}
NGINXNJS=0.8.5
NGINXVER=${1:-1.27.2}
NGINXNJS=0.8.7
NGINXDIR=/opt/nginx-$NGINXVER
NGINXNDK=0.3.3
NGINXLUA=0.10.27
Expand Down Expand Up @@ -206,7 +206,7 @@ mkdir -p /var/cache/nginx/client_temp /var/log/nginx /etc/nginx/conf.d /etc/ngin
cd /etc/nginx/lualib

# https://github.com/openresty/lua-resty-core/tags
LUA_RESTY_CORE=0.1.29
LUA_RESTY_CORE=0.1.30
curl -sSL https://github.com/openresty/lua-resty-core/archive/v$LUA_RESTY_CORE.tar.gz | tar zxf -
\cp -rf lua-resty-core-$LUA_RESTY_CORE/lib/* .
rm -rf lua-resty-core-$LUA_RESTY_CORE
Expand All @@ -218,7 +218,7 @@ curl -sSL https://github.com/openresty/lua-resty-lock/archive/v$LUA_RESTY_LOCK.t
rm -rf lua-resty-lock-$LUA_RESTY_LOCK

# https://github.com/openresty/lua-resty-lrucache/tags
LUA_RESTY_LRUCACHE=0.14
LUA_RESTY_LRUCACHE=0.15
curl -sSL https://github.com/openresty/lua-resty-lrucache/archive/v$LUA_RESTY_LRUCACHE.tar.gz | tar zxf -
\cp -rf lua-resty-lrucache-$LUA_RESTY_LRUCACHE/lib/* .
rm -rf lua-resty-lrucache-$LUA_RESTY_LRUCACHE
Expand Down
6 changes: 3 additions & 3 deletions nginx/build-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ make -j4 && make install && cd ..


NGINXVER=${1:-1.26.2}
NGINXNJS=0.8.5
NGINXNJS=0.8.7
NGINXDIR=/opt/nginx-$NGINXVER
NGINXNDK=0.3.3
NGINXLUA=0.10.27
Expand Down Expand Up @@ -210,7 +210,7 @@ mkdir -p /var/cache/nginx/client_temp /var/log/nginx /etc/nginx/conf.d /etc/ngin
cd /etc/nginx/lualib

# https://github.com/openresty/lua-resty-core/tags
LUA_RESTY_CORE=0.1.29
LUA_RESTY_CORE=0.1.30
curl -sSL https://github.com/openresty/lua-resty-core/archive/v$LUA_RESTY_CORE.tar.gz | tar zxf -
\cp -rf lua-resty-core-$LUA_RESTY_CORE/lib/* .
rm -rf lua-resty-core-$LUA_RESTY_CORE
Expand All @@ -222,7 +222,7 @@ curl -sSL https://github.com/openresty/lua-resty-lock/archive/v$LUA_RESTY_LOCK.t
rm -rf lua-resty-lock-$LUA_RESTY_LOCK

# https://github.com/openresty/lua-resty-lrucache/tags
LUA_RESTY_LRUCACHE=0.14
LUA_RESTY_LRUCACHE=0.15
curl -sSL https://github.com/openresty/lua-resty-lrucache/archive/v$LUA_RESTY_LRUCACHE.tar.gz | tar zxf -
\cp -rf lua-resty-lrucache-$LUA_RESTY_LRUCACHE/lib/* .
rm -rf lua-resty-lrucache-$LUA_RESTY_LRUCACHE
Expand Down

0 comments on commit 745b7c0

Please sign in to comment.