Sparse dockerization

This commit is contained in:
arnaudb
2016-04-20 15:42:14 +02:00
parent 86a5433312
commit 7c6d1eb585
7 changed files with 25 additions and 0 deletions

14
docker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM golang:1.6
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y git openssh-client gcc
WORKDIR /app
RUN go get github.com/kotakanbe/go-cve-dictionary
RUN go get github.com/future-architect/vuls
COPY fetch.sh .
RUN /bin/bash /app/fetch.sh
COPY config.toml .
COPY run.sh .
ENTRYPOINT ["/bin/bash", "/app/run.sh"]
COPY id_rsa .
COPY id_rsa.pub .