diff options
author | Emiliano Ciavatta | 2021-07-28 18:12:14 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2021-07-28 18:12:14 +0000 |
commit | 99cfe84c23f3beb8baf76b799ace1b3ffbf1d5ff (patch) | |
tree | 41d8bbbe2f46051aeebf5b4ae73c46325c4bf7c6 /.github/docker/Dockerfile-backend | |
parent | fdb0bf97d2dec72adf08e5f2d7ad65b560d8cf8e (diff) | |
parent | f60d7cb1da70d439cd401e2fa4b7ecccec41bfe4 (diff) |
Merge branch 'release/1.21.0' into main
Diffstat (limited to '.github/docker/Dockerfile-backend')
-rw-r--r-- | .github/docker/Dockerfile-backend | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/docker/Dockerfile-backend b/.github/docker/Dockerfile-backend new file mode 100644 index 0000000..82ed29f --- /dev/null +++ b/.github/docker/Dockerfile-backend @@ -0,0 +1,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 |