File tree 5 files changed +25
-11
lines changed
5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.12
1
+ FROM alpine:3.17
2
+ ARG TARGETARCH=arm64
2
3
3
4
4
5
# https://github.com/cubicdaiya/nginx-build
5
- ENV NGINX_BUILD=0.11.13
6
- ENV NGINX_VER=1.21.0
7
- ENV ZLIB_VERSION=1.2.11
6
+ ENV NGINX_BUILD=0.13.1
7
+ ENV NGINX_VER=1.23.3
8
+ ENV ZLIB_VERSION=1.2.13
8
9
9
10
RUN mkdir /usr/local/src /usr/local/share/GeoIP
10
11
ADD config /config
11
12
12
13
WORKDIR /usr/local/src
13
14
RUN apk add --update openssl-dev git curl geoip-dev file wget \
14
15
&& apk add --virtual build-deps build-base ruby-rake bison perl \
15
- && curl -L https://github.com/cubicdaiya/nginx-build/releases/download/v$NGINX_BUILD/nginx-build-linux-amd64 -$NGINX_BUILD.tar.gz -o nginx-build.tar.gz \
16
+ && curl -L https://github.com/cubicdaiya/nginx-build/releases/download/v$NGINX_BUILD/nginx-build-linux-${TARGETARCH} -$NGINX_BUILD.tar.gz -o nginx-build.tar.gz \
16
17
&& tar xvzf nginx-build.tar.gz \
17
- && ./nginx-build -verbose -v $NGINX_VER -d work -pcre -zlib -zlibversion=$ZLIB_VERSION -m /config/modules3rd.ini -c /config/configure.sh --clear \
18
+ && ./nginx-build -verbose -v $NGINX_VER -d work -pcre -zlib -zlibversion=$ZLIB_VERSION -m /config/modules3rd.json -c /config/configure.sh --clear \
18
19
&& cd work/nginx/$NGINX_VER/nginx-$NGINX_VER \
19
20
&& make install \
20
21
&& apk del build-deps \
Original file line number Diff line number Diff line change 17
17
--with-stream \
18
18
--with-stream_ssl_module \
19
19
--without-stream_limit_conn_module \
20
- --add-module=../ngx_mruby/dependence/ngx_devel_kit \
21
- --with-cc-opt=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' \
22
- --with-ld-opt=' -Wl,-z,relro'
20
+ --add-module=../ngx_mruby/dependence/ngx_devel_kit
23
21
Original file line number Diff line number Diff line change 6
6
[ngx_mruby]
7
7
form =git
8
8
url =https://github.com/matsumotory/ngx_mruby.git
9
- rev =v2.2.3
9
+ rev =v2.3.0
10
10
shprov =/config/mruby/wrap_build.sh
11
11
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "name" : " ngx_cache_purge" ,
4
+ "form" : " git" ,
5
+ "url" : " https://github.com/FRiCKLE/ngx_cache_purge.git" ,
6
+ "rev" : " 2.3"
7
+ },
8
+ {
9
+ "name" : " ngx_mruby" ,
10
+ "form" : " git" ,
11
+ "url" : " https://github.com/matsumotory/ngx_mruby.git" ,
12
+ "rev" : " v2.3.0" ,
13
+ "shprov" : " /config/mruby/wrap_build.sh"
14
+ }
15
+ ]
Original file line number Diff line number Diff line change 16
16
conf . gem :github => 'mattn/mruby-onig-regexp'
17
17
conf . gem :github => 'matsumoto-r/mruby-redis'
18
18
conf . gem :github => 'matsumoto-r/mruby-vedis'
19
- conf . gem :github => 'matsumoto-r/mruby-sleep'
19
+ # conf.gem :github => 'matsumoto-r/mruby-sleep'
20
20
conf . gem :github => 'matsumoto-r/mruby-userdata'
21
21
conf . gem :github => 'matsumoto-r/mruby-uname'
22
22
conf . gem :github => 'matsumoto-r/mruby-mutex'
You can’t perform that action at this time.
0 commit comments