mirror of
https://github.com/40t/go-sniffer.git
synced 2025-08-10 19:49:29 +08:00
implementl get user and database
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
This commit is contained in:
13
Dockerfile_centos
Normal file
13
Dockerfile_centos
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM centos:7
|
||||
|
||||
RUN yum -y install wget
|
||||
|
||||
RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; \
|
||||
rpm -Uvh epel-release-latest-7*.rpm; \
|
||||
yum makecache
|
||||
|
||||
|
||||
RUN yum -y install libpcap-devel go
|
||||
|
||||
RUN go get -v -u github.com/40t/go-sniffer;\
|
||||
cp -rf $(go env GOPATH)/bin/go-sniffer /usr/local/bin
|
Reference in New Issue
Block a user