From 6a1d9c730f5dcb29a89678cd0367c8619008b84b Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 24 Feb 2021 21:50:12 -0500 Subject: [PATCH] Compile yara --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe980d1..33cb3df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM golang:alpine AS builder -RUN mkdir -p /build/src; mkdir -p /build/yara +RUN mkdir -p /build/src ADD https://github.com/VirusTotal/yara/archive/v4.0.5.tar.gz /build/yara/src.tar.gz RUN apk add --no-cache automake libtool make gcc -RUN cd /build/yara; tar xvf src.tar.gz; ./configure; make; make install +RUN cd /build; tar xvf src.tar.gz; cd yara-4.0.5; ./configure; make; make install ADD . /build/src