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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
