subfinder/Dockerfile

16 lines
332 B
Docker
Raw Normal View History

2018-04-17 06:20:04 +00:00
# iron/go:dev is the alpine image with the go tools added
FROM golang
2018-04-17 06:20:04 +00:00
WORKDIR /app
# Set an env var that matches your github repo name
ENV SRC_DIR=/go/src/github.com/Ice3man543/subfinder/
2018-04-17 06:20:04 +00:00
# Add the source code:
ADD . $SRC_DIR
# Build it:
RUN cd $SRC_DIR; go get; go build -o main; cp main /app/
2018-04-17 06:20:04 +00:00
ENTRYPOINT ["./main"]
CMD ["-h"]