Skip to content
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 && chmod +x /usr/local/bin/dep
WORKDIR /go/src/
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure -vendor-only
COPY . /go/src/
RUN go build -o ./bin/evilginx main.go
FROM alpine:3.8
RUN apk add --update \
ca-certificates \
&& rm -rf /var/cache/apk/*
COPY --from=build /go/src/ /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.