Update Dockerfile

Make DIE beta package version configurable in Dockerfile.
This commit is contained in:
Dinlon5566 2026-03-10 20:05:39 +08:00
commit f690d96946
No known key found for this signature in database
GPG key ID: EFB421890A5CF731

View file

@ -1,10 +1,11 @@
FROM ubuntu:24.04
# Newest version of DIE, check https://github.com/horsicq/DIE-engine/releases .
ARG DIE_VERSION=3.20
RUN apt update -qq && apt upgrade -y && apt install -y wget && \
# Beta version needed to support recent signatures
wget https://github.com/horsicq/DIE-engine/releases/download/Beta/die_3.11_Ubuntu_24.04_amd64.deb && \
apt install -y ./die_3.11_Ubuntu_24.04_amd64.deb && \
rm die_3.11_Ubuntu_24.04_amd64.deb && rm -rf /usr/lib/die/db
wget https://github.com/horsicq/DIE-engine/releases/download/Beta/die_${DIE_VERSION}_Ubuntu_24.04_amd64.deb && \
apt install -y ./die_${DIE_VERSION}_Ubuntu_24.04_amd64.deb && \
rm die_${DIE_VERSION}_Ubuntu_24.04_amd64.deb && rm -rf /usr/lib/die/db
# db update
COPY ./db /usr/lib/die/db