Use Yara 4.0.5, update api

This commit is contained in:
Tyler
2021-02-24 22:00:39 -05:00
parent ed71b46945
commit 75e9a42a51
4 changed files with 17 additions and 15 deletions

View File

@ -2,10 +2,10 @@ FROM golang:alpine AS builder
RUN mkdir -p /build/src
ADD https://github.com/VirusTotal/yara/archive/v4.0.5.tar.gz /build/yara-4.0.5.tar.gz
ADD https://github.com/VirusTotal/yara/archive/v4.0.4.tar.gz /build/yara-4.0.4.tar.gz
RUN apk add --no-cache autoconf automake libtool make gcc g++ openssl-dev pkgconfig
RUN cd /build; tar xvf yara-4.0.5.tar.gz; cd yara-4.0.5; ./bootstrap.sh; ./configure; make; make install
RUN cd /build; tar xvf yara-4.0.4.tar.gz; cd yara-4.0.4; ./bootstrap.sh; ./configure; make; make install
ADD . /build/src