Skip to content

Commit 045bdcd

Browse files
committed
build lua-nginx-module
1 parent d5cd7cd commit 045bdcd

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
#指定用户/仓库名
8888
build-args: |
8989
NGINX_FROM_IMAGE=nginx:1.25.2
90-
ENABLED_MODULES=ndk lua nginx_upstream_check_module
90+
ENABLED_MODULES=ndk lua lua-nginx-module nginx_upstream_check_module
9191
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
9292
labels: ${{ steps.meta.outputs.labels }}
9393
cache-from: type=gha
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
make gcc

modules/lua-nginx-module/prebuild

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
# if a module has a build dependency that is not in debian/alpine
4+
# use this script to fetch/build/install them
5+
#
6+
# note that shared libraries produced as a result of this script will
7+
# not be copied from the builder image to the resulting one, so you need to
8+
# build them statically
9+
10+
echo "No prebuild stage required - all dependencies are satisfied already!"
11+
12+
exit 0

modules/lua-nginx-module/source

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/openresty/lua-nginx-module.git
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://codeload.github.com/yaoweibin/nginx_upstream_check_module/zip/master
1+
https://github.com/yaoweibin/nginx_upstream_check_module.git

0 commit comments

Comments
 (0)