This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git

commit 2b1960633221b0b3ded8de59fa06a30283eae6bc
Author: Pierre Lacave <[email protected]>
AuthorDate: Thu Dec 21 00:04:43 2023 +0100

    Add a docker file to run tests
---
 Dockerfile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..a4791cd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM golang:alpine
+ENV CGO_ENABLED=0
+
+WORKDIR /github.com/apache/datasketches-go/
+COPY go.mod .
+COPY go.sum .
+COPY main.go .
+COPY common ./common
+COPY thetacommon ./thetacommon
+COPY hll ./hll
+
+
+RUN go mod download
+RUN go build -v ./...
+
+CMD ["go", "test", "-v", "./..."]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to