You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by pl...@apache.org on 2025/12/31 14:59:40 UTC
(datasketches-go) branch docker created (now cf8f901)
This is an automated email from the ASF dual-hosted git repository.
placave pushed a change to branch docker
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git
at cf8f901 Docker test and readme
This branch includes the following new commits:
new cf8f901 Docker test and readme
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
(datasketches-go) 01/01: Docker test and readme
Posted by pl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
placave pushed a commit to branch docker
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git
commit cf8f901ddc216a5e6e74aee09f17e6920daac106
Author: Pierre Lacave <pi...@datadoghq.com>
AuthorDate: Wed Dec 31 15:59:24 2025 +0100
Docker test and readme
---
README.md | 16 +++++++++++++++-
build/Dockerfile | 4 +++-
go.mod | 2 +-
3 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index fd0f440..9bbca21 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,20 @@ If you are interested in making contributions to this site please see our [Commu
🚧 = In progress
-=================
+# Build & Runtime Dependencies
This code requires Go 1.24
+
+# Compilation and Test
+
+Test can be run using go test command
+```
+go test ./...
+```
+
+A Dockerfile is also provided with the necessary env to build and test the project.
+
+```
+./build/Dockerfile
+./build/run-docker-test.sh
+```
\ No newline at end of file
diff --git a/build/Dockerfile b/build/Dockerfile
index 01aece6..5a28b8d 100644
--- a/build/Dockerfile
+++ b/build/Dockerfile
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM golang:1.24.9-alpine
+FROM golang:1.24.11-alpine
ENV CGO_ENABLED=0
WORKDIR /github.com/apache/datasketches-go/
@@ -25,11 +25,13 @@ COPY common ./common
COPY count ./count
COPY cpc ./cpc
COPY examples ./examples
+COPY filters ./filters
COPY frequencies ./frequencies
COPY hll ./hll
COPY internal ./internal
COPY kll ./kll
COPY theta ./theta
+COPY tuple ./tuple
RUN go mod download
RUN go build -v ./...
diff --git a/go.mod b/go.mod
index 09bbb2b..343977b 100644
--- a/go.mod
+++ b/go.mod
@@ -24,7 +24,7 @@ require (
github.com/twmb/murmur3 v1.1.8
)
-require github.com/cespare/xxhash/v2 v2.3.0 // indirect
+require github.com/cespare/xxhash/v2 v2.3.0
require (
github.com/davecgh/go-spew v1.1.1 // indirect
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org