summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMathieu Deous2023-01-04 22:32:36 +0100
committerGitHub2023-01-04 22:32:36 +0100
commit335412258516111a9e90cee452e4c1caf5515b1b (patch)
tree7900fe6723421b19b3c6cab909d49b34deaa967e /Dockerfile
parenta9317e7cf8914ba41fd8da92f5fc5d42f5551a83 (diff)
Fix Docker image build error (#121)
* use libyara from alpine testing repo * update dependencies
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 2 insertions, 16 deletions
diff --git a/Dockerfile b/Dockerfile
index e13b19d..f7d5bc9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,22 +2,8 @@ FROM golang:alpine as build
2WORKDIR /app 2WORKDIR /app
3 3
4# install build dependencies 4# install build dependencies
5RUN apk add --no-cache \ 5RUN apk add --no-cache build-base git && \
6 build-base \ 6 apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing yara-dev
7 automake \
8 autoconf \
9 pkgconfig \
10 libtool \
11 bison \
12 libressl-dev \
13 git
14
15# install YARA
16RUN git clone --depth 1 https://github.com/virustotal/yara.git \
17 && cd yara \
18 && sh ./build.sh \
19 && make install \
20 && cd ..
21 7
22# copy and build PMF 8# copy and build PMF
23COPY . . 9COPY . .