File tree 2 files changed +5
-9
lines changed
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 44
44
ARG FROM
45
45
FROM ${FROM} AS main
46
46
47
+ COPY docker/unit.list /etc/apt/sources.list.d/unit.list
48
+ ADD --chmod=444 --chown=0:0 https://unit.nginx.org/keys/nginx-keyring.gpg /usr/share/keyrings/nginx-keyring.gpg
47
49
RUN export DEBIAN_FRONTEND=noninteractive \
48
50
&& apt-get update -qq \
49
51
&& apt-get upgrade \
@@ -60,15 +62,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \
60
62
openssl \
61
63
python3 \
62
64
tini \
63
- && curl --silent --output /usr/share/keyrings/nginx-keyring.gpg \
64
- https://unit.nginx.org/keys/nginx-keyring.gpg \
65
- && echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ noble unit" \
66
- > /etc/apt/sources.list.d/unit.list \
67
- && apt-get update -qq \
68
- && apt-get install \
69
- --yes -qq --no-install-recommends \
70
- unit=1.34.1-1~noble \
71
- unit-python3.12=1.34.1-1~noble \
65
+ unit-python3.12=1.34.2-1~noble \
66
+ unit=1.34.2-1~noble \
72
67
&& rm -rf /var/lib/apt/lists/*
73
68
74
69
# Copy the modified 'requirements*.txt' files, to have the files actually used during installation
Original file line number Diff line number Diff line change
1
+ deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] http://packages.nginx.org/unit/ubuntu/ noble unit
You can’t perform that action at this time.
0 commit comments