Add Docker support for Ormin + BaraDB dev stack
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled

- docker-compose.ormin.yml: BaraDB + Ormin dev environment
- clients/nim/ormin/docker/Dockerfile: dev image with Nim 2.2.10
- clients/nim/ormin/docker/entrypoint.sh: auto-install deps
- docker-compose.test.yml: add Ormin compile test
This commit is contained in:
2026-05-15 22:23:45 +03:00
parent 4e54075078
commit 4ac147dc6c
3 changed files with 97 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
set -eu
# Ormin + BaraDB Dev Entrypoint
# Handles dependency installation and optional example compilation.
DEPS_FLAG="/workspace/.deps-installed"
# Install dependencies once
if [ ! -f "$DEPS_FLAG" ]; then
echo "[ormin-dev] Installing BaraDB client..."
cd /workspace/baradb
nimble install -y
echo "[ormin-dev] Installing Ormin dependencies..."
cd /workspace/ormin
nimble install -y
touch "$DEPS_FLAG"
echo "[ormin-dev] Dependencies ready."
fi
# If no arguments, drop to shell
if [ $# -eq 0 ]; then
exec bash
fi
# Otherwise run the provided command
exec "$@"