Skip to content

Include installed upgrade SQL scripts in Docker image - #2599

Open
dajiaohuang wants to merge 1 commit into
apache:masterfrom
dajiaohuang:fix/docker-upgrade-scripts-2168
Open

dajiaohuang wants to merge 1 commit into
apache:masterfrom
dajiaohuang:fix/docker-upgrade-scripts-2168

Conversation

@dajiaohuang

Copy link
Copy Markdown

The final Docker stage copies only age--1.8.0.sql, discarding upgrade scripts installed by make install. Existing databases cannot find the packaged upgrade path after switching images.

Copy all installed AGE SQL scripts from the build stage. The Makefile continues to exclude source templates and synthetic upgrade test scripts from installation.

Fixes #2570.

Validation: inspected the Makefile installation list and the tracked 1.6.0-to-1.7.0 and 1.7.0-to-1.8.0 scripts; git diff --check passed. Attempted docker build -f docker/Dockerfile -t age-2168-local ., but the local Docker engine pipe is unavailable. Image build and database upgrade execution remain unverified.

Generated-by: OpenAI Codex (GPT-6.1-sol)

Generated-by: OpenAI Codex (GPT-6.1-sol)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker images ship no extension update scripts: docker/Dockerfile drops the age--*--*.sql that make install produces

1 participant