mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Update Dockerfile
Make DIE beta package version configurable in Dockerfile.
This commit is contained in:
parent
4a49b824e4
commit
f690d96946
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue