Update to use Go 1.15 and latest libpcap

This commit is contained in:
Leonid Bugaev
2021-06-09 07:02:09 +03:00
parent 7c10776064
commit 14143e46ca
+2 -2
View File
@@ -1,9 +1,9 @@
FROM golang:1.14
FROM golang:1.15
RUN apt-get update && apt-get install ruby vim-common -y
RUN apt-get install flex bison -y
RUN wget http://www.tcpdump.org/release/libpcap-1.9.1.tar.gz && tar xzf libpcap-1.9.1.tar.gz && cd libpcap-1.9.1 && ./configure && make install
RUN wget http://www.tcpdump.org/release/libpcap-1.10.0.tar.gz && tar xzf libpcap-1.10.0.tar.gz && cd libpcap-1.10.0 && ./configure && make install
RUN go get github.com/google/gopacket
RUN go get -u golang.org/x/lint/golint