commit
357c3403ef
14
Dockerfile
14
Dockerfile
|
@ -1,5 +1,5 @@
|
|||
# Build Container
|
||||
FROM golang:1.9.4-alpine3.7 AS build-env
|
||||
FROM golang:1.11.4-alpine3.7 AS build-env
|
||||
RUN apk add --no-cache --upgrade git openssh-client ca-certificates
|
||||
RUN go get -u github.com/golang/dep/cmd/dep
|
||||
WORKDIR /go/src/app
|
||||
|
@ -8,13 +8,7 @@ WORKDIR /go/src/app
|
|||
COPY Gopkg.toml Gopkg.lock ./
|
||||
RUN dep ensure -vendor-only -v
|
||||
|
||||
# Build
|
||||
COPY main.go ./
|
||||
RUN go build -o ./subfinder *.go
|
||||
# Install
|
||||
RUN go get -u github.com/subfinder/subfinder
|
||||
|
||||
# Final Container
|
||||
FROM alpine:3.7
|
||||
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||
COPY --from=build-env /go/src/app/subfinder /usr/bin/subfinder
|
||||
|
||||
ENTRYPOINT ["/usr/bin/subfinder"]
|
||||
ENTRYPOINT ["subfinder"]
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:fecb89fd185fd281d6fd0fcd698c8d6bfb628cbb355808901500b414232af60d"
|
||||
|
@ -7,16 +10,15 @@
|
|||
revision = "a8e42bc6a5b6c9a93be01ca204be7e17f7ba4cd2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:463e4140189f8194f9121ca1c7fe3b8e9e9a2ab3d949b43c835c21034927dc62"
|
||||
digest = "1:1b46adc9e3d878cdf38a164cfdac2e19340f4d2662aa5bee88062f6ee08ac9df"
|
||||
name = "github.com/miekg/dns"
|
||||
packages = ["."]
|
||||
pruneopts = "UT"
|
||||
revision = "5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1"
|
||||
version = "v1.0.8"
|
||||
revision = "8fc2e5773bbd308ca2fcc962fd8d25c1bd0f6743"
|
||||
version = "v1.1.4"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:44ecd6018250c184b8761d7a8585956daa05fc3f39519c67741a8d2bc5048c93"
|
||||
digest = "1:d9bf2a9b88c0e37e5871a9bce498acd918ff7ff136fb0b2b9c943a3ffffc8103"
|
||||
name = "github.com/subfinder/subfinder"
|
||||
packages = [
|
||||
"libsubfinder/engines/bruteforce",
|
||||
|
@ -36,6 +38,7 @@
|
|||
"libsubfinder/sources/crtsh",
|
||||
"libsubfinder/sources/dnsdb",
|
||||
"libsubfinder/sources/dnsdumpster",
|
||||
"libsubfinder/sources/dnstable",
|
||||
"libsubfinder/sources/dogpile",
|
||||
"libsubfinder/sources/exalead",
|
||||
"libsubfinder/sources/findsubdomains",
|
||||
|
@ -56,7 +59,8 @@
|
|||
"subf",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "5960a59ee14acef8f9182c9bdd913d2e256a0ca3"
|
||||
revision = "b89ce975d1a578eddd14271542a5ed2296a06bb8"
|
||||
version = "1.2"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
@ -75,11 +79,11 @@
|
|||
"ed25519/internal/edwards25519",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "aabede6cba87e37f413b3e60ebfc214f8eeca1b0"
|
||||
revision = "7f87c0fbb88b590338857bcb720678c2583d4dea"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:7679523acab7ab7d18ac9e00b46991470a212a1e3dc653027db8f331b02397a2"
|
||||
digest = "1:19beed19e4246df7aff387a2bcd4519a386e3fe9637690031c4d4b0cf75f7215"
|
||||
name = "golang.org/x/net"
|
||||
packages = [
|
||||
"bpf",
|
||||
|
@ -89,7 +93,15 @@
|
|||
"ipv6",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "aaf60122140d3fcf75376d319f0554393160eb50"
|
||||
revision = "fe579d43d83210096a79b46dcca0e3721058393a"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:d0e9a312c4610a508569ab25e54d34600b1a96d19b1866ece104ffdf1c1b9d2c"
|
||||
name = "golang.org/x/sys"
|
||||
packages = ["unix"]
|
||||
pruneopts = "UT"
|
||||
revision = "cc5685c2db1239775905f3911f0067c0fa74762f"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
|
@ -113,6 +125,7 @@
|
|||
"github.com/subfinder/subfinder/libsubfinder/sources/crtsh",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/dnsdb",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/dnsdumpster",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/dnstable",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/dogpile",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/exalead",
|
||||
"github.com/subfinder/subfinder/libsubfinder/sources/findsubdomains",
|
||||
|
|
29
Gopkg.toml
29
Gopkg.toml
|
@ -1,10 +1,37 @@
|
|||
# Gopkg.toml example
|
||||
#
|
||||
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
|
||||
# for detailed Gopkg.toml documentation.
|
||||
#
|
||||
# required = ["github.com/user/thing/cmd/thing"]
|
||||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project"
|
||||
# version = "1.0.0"
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project2"
|
||||
# branch = "dev"
|
||||
# source = "github.com/myfork/project2"
|
||||
#
|
||||
# [[override]]
|
||||
# name = "github.com/x/y"
|
||||
# version = "2.4.0"
|
||||
#
|
||||
# [prune]
|
||||
# non-go = false
|
||||
# go-tests = true
|
||||
# unused-packages = true
|
||||
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/bogdanovich/dns_resolver"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
name = "github.com/subfinder/subfinder"
|
||||
version = "1.2.0"
|
||||
|
||||
[[constraint]]
|
||||
branch = "master"
|
||||
|
|
Loading…
Reference in New Issue