mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
testing Dockerfile
This commit is contained in:
parent
d524391909
commit
5bccdc2c1e
1 changed files with 23 additions and 0 deletions
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# iron/go:dev is the alpine image with the go tools added
|
||||
FROM iron/go:dev
|
||||
|
||||
WORKDIR /bettercap-ng
|
||||
|
||||
ENV SRC_DIR=/go/src/github.com/evilocket/bettercap-ng
|
||||
|
||||
ADD . $SRC_DIR
|
||||
|
||||
RUN apk add --update ca-certificates && \
|
||||
apk add --no-cache --update \
|
||||
bash \
|
||||
build-base \
|
||||
libpcap-dev;\
|
||||
cd $SRC_DIR; \
|
||||
make deps; \
|
||||
make; \
|
||||
cp bettercap-ng /bettercap-ng/
|
||||
|
||||
EXPOSE 80 443 5300 8080 8081 8082 8083 8000
|
||||
ENTRYPOINT ["./bettercap-ng"]
|
||||
CMD ["-h"]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue