Skip to content

Commit 1dc000c

Browse files
committed
Update/ Updated versions for nginx, ngx devel kit and lua module. Updated alpine base version. Updated keyserver since ha.pool.sks-keyserver.net is not available.
1 parent 61afc6a commit 1dc000c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

stable/alpine/Dockerfile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
FROM alpine:3.8
1+
FROM alpine:3.18.0
22

33
MAINTAINER Wang Shaobo <[email protected]>
44

55
ENV LANG en_US.UTF-8
6-
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
76

8-
ENV NGINX_VERSION 1.10.2
9-
ENV NGX_DEVEL_KIT_VERSION 0.3.1
10-
ENV LUA_NGINX_MODULE_VERSION 0.10.14
7+
ENV NGINX_VERSION 1.24.0
8+
ENV NGX_DEVEL_KIT_VERSION 0.3.2
9+
ENV LUA_NGINX_MODULE_VERSION 0.10.24
1110

12-
# Install LUAJIT
13-
RUN apk add --no-cache luajit
11+
# Install LUAJIT and LUARestyCore
12+
RUN apk update && apk add --no-cache luajit lua-resty-core
1413

15-
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
14+
RUN GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
1615
&& CONFIG="\
1716
--prefix=/etc/nginx \
1817
--sbin-path=/usr/sbin/nginx \
@@ -85,7 +84,7 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
8584
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
8685
&& curl -fSL http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc \
8786
&& export GNUPGHOME="$(mktemp -d)" \
88-
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEYS" \
87+
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$GPG_KEYS" \
8988
&& gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz \
9089
&& rm -r "$GNUPGHOME" nginx.tar.gz.asc \
9190
&& mkdir -p /usr/src \

0 commit comments

Comments
 (0)