From 335412258516111a9e90cee452e4c1caf5515b1b Mon Sep 17 00:00:00 2001 From: Mathieu Deous Date: Wed, 4 Jan 2023 22:32:36 +0100 Subject: Fix Docker image build error (#121) * use libyara from alpine testing repo * update dependencies--- Dockerfile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e13b19d..f7d5bc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,22 +2,8 @@ FROM golang:alpine as build WORKDIR /app # install build dependencies -RUN apk add --no-cache \ - build-base \ - automake \ - autoconf \ - pkgconfig \ - libtool \ - bison \ - libressl-dev \ - git - -# install YARA -RUN git clone --depth 1 https://github.com/virustotal/yara.git \ - && cd yara \ - && sh ./build.sh \ - && make install \ - && cd .. +RUN apk add --no-cache build-base git && \ + apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara-dev # copy and build PMF COPY . . -- cgit v1.3