From 526c3808360600fe6ed2cc57e94c22e47b9c9d54 Mon Sep 17 00:00:00 2001 From: Yan Levin Date: Fri, 21 Aug 2026 03:28:09 -0500 Subject: [PATCH] Add Dockerfile for demo install --- .dockerignore | 9 +++++++++ Dockerfile | 13 +++++++++++++ README.md | 28 ++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a515917 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +.git +**/target +eval/ +.cursor/ +*.iml +.idea/ +.vscode/ +.DS_Store +**/.DS_Store diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4676555 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM eclipse-temurin:8-jdk + +RUN apt-get update && apt-get install -y --no-install-recommends \ + maven wget zstd netcat-openbsd \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /estore +COPY . . + +RUN ./s install_estore + +EXPOSE 1234 +CMD ["/bin/bash"] diff --git a/README.md b/README.md index df3afef..ec23328 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,34 @@ is a table of references to objects on the heap, which users can manipulate the same way as any other object on the heap in their programs. +## Requirements + +- Java 8 +- Maven +- wget, zstd, tar, gzip +- `nc` (netcat) for the TCP query demo + +We also provide a Docker image with Java 8, Maven, and an installed +eStore repository. Build and run it with: + +```bash +docker build -t estore . +docker run --rm -it -p 1234:1234 estore +``` + +## Install + +```bash +./s install_estore +``` + +This runs dependency checks, downloads test data, and installs +the `estore` Maven module. See +[Getting Started](#getting-started-with-development) for a fuller +local workflow. After install, start the TCP query server with +`./s exec_estore`, then query it with +`echo 'MATCH (n) RETURN n' | nc localhost 1234`. + ## Examples 1. Capturing a Java object graph and querying it with Cypher-like syntax.