Using Ubuntu 22.04 because Debian has old packages
With Debian the Quay.io security checker found several issues in the image. With Ubuntu we have never versions of all packages and therefore less (or no) issues.
This commit is contained in:
parent
8fbedf2886
commit
45e7f6a30c
2 changed files with 5 additions and 5 deletions
|
@ -50,13 +50,13 @@ RUN export DEBIAN_FRONTEND=noninteractive \
|
|||
tini \
|
||||
&& curl -sL https://nginx.org/keys/nginx_signing.key \
|
||||
> /etc/apt/trusted.gpg.d/nginx.asc && \
|
||||
echo "deb https://packages.nginx.org/unit/debian/ bullseye unit" \
|
||||
echo "deb https://packages.nginx.org/unit/ubuntu/ jammy unit" \
|
||||
> /etc/apt/sources.list.d/unit.list \
|
||||
&& apt-get update -qq \
|
||||
&& apt-get install \
|
||||
--yes -qq --no-install-recommends \
|
||||
unit=1.27.0-1~bullseye \
|
||||
unit-python3.9=1.27.0-1~bullseye \
|
||||
unit=1.27.0-1~jammy \
|
||||
unit-python3.10=1.27.0-1~jammy \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /opt/netbox/venv /opt/netbox/venv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue