aboutsummaryrefslogtreecommitdiff
path: root/.github/docker/Dockerfile-backend
blob: 82ed29f0f5040b1d72895bf85ab2da6eecaa96f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM golang:1.16

RUN apt-get update && \
	DEBIAN_FRONTEND=noninteractive apt-get install -qq \
	git \
	pkg-config \
	libpcap-dev \
	libhyperscan-dev

WORKDIR /caronte

COPY . ./

RUN go mod download && \
    go build

ENTRYPOINT go test -v -race -covermode=atomic