mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Ensure that docker images gets build in x64 arch, and use nfpm instead of fpm
15 lines
432 B
Docker
15 lines
432 B
Docker
FROM golang:1.17
|
|
|
|
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.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
|
|
|
|
WORKDIR /go/src/github.com/buger/goreplay/
|
|
ADD . /go/src/github.com/buger/goreplay/
|
|
|
|
RUN go get
|