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

This commit is contained in:
Tyler 2021-02-24 21:50:12 -05:00
parent 8883435fd8
commit 6a1d9c730f

View File

@ -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