summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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 . .