Fix yara paths
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Tyler 2021-02-24 21:51:00 -05:00
parent 6a1d9c730f
commit 0ec31446cf
1 changed files with 2 additions and 2 deletions

View File

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