-
-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 556 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 556 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:20.04
LABEL maintainer="Cas van Cooten"
ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /root
ENV TZ=Europe/Amsterdam
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY setup.sh /root
COPY BugBountyScanner.sh /root
COPY utils /root/utils
COPY dist /root/dist
COPY .env.example /root
ENV GOROOT=/usr/local/go
ENV GOPATH=/root/go
ENV PATH=$PATH:/root/go/bin:/usr/local/go/bin
ENV GO111MODULE=on
RUN chmod +x /root/BugBountyScanner.sh /root/setup.sh
RUN /root/setup.sh
RUN rm /root/setup.sh