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