Compile yara
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tyler 2021-02-24 21:49:20 -05:00
parent e721ec6b70
commit 8883435fd8

View File

@ -1,6 +1,11 @@
FROM golang:alpine AS builder
RUN mkdir -p /build/src
RUN mkdir -p /build/src; mkdir -p /build/yara
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
ADD . /build/src