1
- FROM ubuntu:22 .04 AS buildstep
1
+ FROM ubuntu:24 .04 AS buildstep
2
2
ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \
3
- NGINX_DEVEL_KIT_VERSION=0.3.2 NGINX_SET_MISC_MODULE_VERSION=0.33 \
4
- NGINX_VERSION=1.24.0
3
+ NGINX_DEVEL_KIT_VERSION=0.3.3 NGINX_SET_MISC_MODULE_VERSION=0.33 \
4
+ NGINX_VERSION=1.26.2
5
5
ADD ./build/ /tmp/
6
6
RUN bash /tmp/ubuntu.sh
7
7
8
8
9
- FROM ubuntu:22 .04
9
+ FROM ubuntu:24 .04
10
10
LABEL maintainer=
"noogen <[email protected] >"
11
11
ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \
12
- NGINX_VERSION=_1.24.0-1~jammy_amd64.deb \
13
- NGINX_DEBUG=-dbg${NGINX_VERSION}
12
+ NGINX_VERSION=_1.26.2-1~noble_arm64.deb
14
13
15
14
COPY --from=buildstep /usr/src/nginx/nginx${NGINX_VERSION} /tmp
16
15
@@ -24,8 +23,8 @@ RUN cd /tmp \
24
23
&& touch /var/log/cron.log \
25
24
&& curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - \
26
25
&& cp /etc/apt/sources.list /etc/apt/sources.list.bak \
27
- && echo "deb http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list \
28
- && echo "deb-src http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list \
26
+ && echo "deb http://nginx.org/packages/ubuntu/ noble nginx" | tee -a /etc/apt/sources.list \
27
+ && echo "deb-src http://nginx.org/packages/ubuntu/ noble nginx" | tee -a /etc/apt/sources.list \
29
28
&& apt-get update -y \
30
29
&& dpkg -i nginx${NGINX_VERSION} \
31
30
&& apt-get install --no-install-recommends --no-install-suggests -y nginx-module-njs gettext-base \
@@ -34,7 +33,7 @@ RUN cd /tmp \
34
33
&& ln -sf /dev/stdout /var/log/nginx/access.log \
35
34
&& ln -sf /dev/stderr /var/log/nginx/error.log \
36
35
&& service nginx stop && update-rc.d -f nginx disable \
37
- && pip3 install requests boto3 \
36
+ && pip3 install requests boto3 --break-system-packages \
38
37
&& apt-get clean -y && apt-get autoclean -y \
39
38
&& apt-get autoremove --purge -y \
40
39
&& rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/*
0 commit comments