Skip to content

local docker build script#181

Merged
taoeffect merged 2 commits into
masterfrom
docker-build-local
May 18, 2026
Merged

local docker build script#181
taoeffect merged 2 commits into
masterfrom
docker-build-local

Conversation

@taoeffect

@taoeffect taoeffect commented May 1, 2026

Copy link
Copy Markdown
Member

This is what I'm using while waiting for the GHA script to be polished.

@pedrogaudencio please have a look, and pay special attention to BUILD_TAGS as I'm not sure about how those should be used (they're set to sqlite by default, do they need to be changed to support postgres?).


Open in Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

This comment was marked as resolved.

@pedrogaudencio pedrogaudencio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./build-and-push-local.sh works well (after the Dockerfile temporary fix I shared @taoeffect).

To clarify the BUILD_TAGS: the PostgreSQL driver is pure-Go (lib/pq) and is always linked in (unconditionally compiled into every Forkana binary), so the SQLite-related tags only enable the SQLite backend in addition to it (and force CGO_ENABLED=1, linking SQLite's C library).

In addition, this seems to align with the CI workflow in #173 and #186.

@taoeffect taoeffect merged commit 6490085 into master May 18, 2026
33 checks passed
@taoeffect taoeffect deleted the docker-build-local branch May 18, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants