Skip to content

Commit afeb1e5

Browse files
committed
chore: download latest EQL instead of bundling hardcoded SQL files
Remove hardcoded EQL SQL files from local/ and packages/schema/. The local Docker setup now downloads the latest EQL release at build time, and the drizzle migration generator fetches it at runtime. This matches the pattern already used in stack-forge.
1 parent edd5021 commit afeb1e5

7 files changed

Lines changed: 15 additions & 13175 deletions

File tree

local/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
FROM postgres:latest
22

3+
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates && rm -rf /var/lib/apt/lists/*
4+
5+
# Download latest EQL install script
6+
RUN curl -sLo /tmp/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/download/cipherstash-encrypt.sql
7+
38
# Copy the custom entrypoint script and SQL files
49
COPY postgres-entrypoint.sh /usr/local/bin/postgres-entrypoint.sh
5-
COPY cipherstash-encrypt-2-2-1.sql /tmp/cipherstash-encrypt-2-2-1.sql
610
COPY create-ci-table.sql /tmp/create-ci-table.sql
711

812
# Make the entrypoint script executable

0 commit comments

Comments
 (0)