Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

34 lines (20 sloc) 735 Bytes
FROM golang:1.10.3-alpine AS build
RUN apk add --update \
git \
&& rm -rf /var/cache/apk/*
RUN wget -O /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 && chmod +x /usr/local/bin/dep
WORKDIR /go/src/github.com/kgretzky/evilginx2
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure -vendor-only
COPY . /go/src/github.com/kgretzky/evilginx2
RUN go build -o ./bin/evilginx main.go
FROM alpine:3.8
RUN apk add --update \
ca-certificates \
&& rm -rf /var/cache/apk/*
WORKDIR /app
COPY --from=build /go/src/github.com/kgretzky/evilginx2/bin/evilginx /app/evilginx
COPY ./phishlets/*.yaml /app/phishlets/
VOLUME ["/app/phishlets/"]
EXPOSE 443 80 53/udp
ENTRYPOINT ["/app/evilginx"]
You can’t perform that action at this time.