Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.git
**/target
eval/
.cursor/
*.iml
.idea/
.vscode/
.DS_Store
**/.DS_Store
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND=noninteractive

# Java 8 first. Installing maven in the same apt command pulls OpenJDK 11.
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
openjdk-8-jdk wget zstd netcat-openbsd \
&& apt-get install -y --no-install-recommends maven \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /estore
COPY . .

RUN ./s install_estore

EXPOSE 1234
CMD ["/bin/bash"]
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ 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.

## Docker

If you want to run in an isolated container, skip installing Java,
Maven, and the other tools in Prerequisites. Docker installs those
dependencies and ϵStore during the build. Start a shell with:

```bash
docker build -t estore .
docker run --rm -it -p 1234:1234 estore
```

Port 1234 is mapped to the host. Inside the container, run
`./s exec_estore` and query the server as described under Running the
Application.

## Examples

1. Capturing a Java object graph and querying it with Cypher-like syntax.
Expand Down
Loading