-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathDockerfile
43 lines (36 loc) · 964 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:latest
MAINTAINER Anshuman Bhartiya <[email protected]>
# Doing the usual here
RUN apt-get -y update && \
apt-get -y dist-upgrade
RUN apt-get install -y \
curl \
tofrodos \
build-essential \
git \
libpcap-dev \
libxml2-dev \
libxslt1-dev \
python-requests \
python-dnspython \
python-setuptools \
python-dev \
wget \
zlib1g-dev && apt-get clean
RUN easy_install pip && pip install --upgrade pip
RUN mkdir /opt/subscan
WORKDIR /opt/subscan
# Install golang.
RUN curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz && \
tar -xvf go1.6.linux-amd64.tar.gz && \
mv go /usr/local && \
export PATH=$PATH:/usr/local/go/bin && \
mkdir $HOME/work && \
export GOPATH=$HOME/work
# Installing ALTDNS
RUN git clone https://github.com/infosec-au/altdns.git
WORKDIR /opt/subscan/altdns
RUN pip install -r requirements.txt
RUN mkdir /opt/secdevops
COPY scripts/* /opt/secdevops/
RUN chmod +x /opt/secdevops/*