Commit Graph
13 Commits
Author SHA1 Message Date
Janik von Rotz 20f829a845 feat(image): enhance git repo handling and simplify README env vars
- Simplify README.md by removing redundant comments from env var examples
- Improve entrypoint.sh to handle GIT_URL presence/absence gracefully
- Add repo pull support when GIT_PATH exists (instead of only clone)
- Initialize and update submodules only if .gitmodules exists
- Skip git operations entirely if GIT_URL is not set
- Remove redundant blank lines and improve script flow readability
2026-06-19 13:46:13 +02:00
Janik von Rotz 65a3d7624a feat(image): ensure opencode config dir exists and fix symlink for global binary
- Create symlink from /pnpm/bin/opencode to /usr/local/bin/opencode for global access
- Ensure opencode config directory exists at startup using OPENCODE_CONFIG_DIR env var
- Improve task file permission message clarity in entrypoint.sh
2026-06-19 11:57:08 +02:00
Janik von Rotz 57fce1cb8a feat(image): integrate opencode-ai CLI with persistent config support
- Install opencode-ai globally via pnpm with build allowance
- Fix pnpm global bin path by adding $PNPM_HOME/bin to PATH
- Create /app/.config/opencode for persistent config storage
- Document OpenCode usage and persistence in README.md
- Log opencode version at container startup in entrypoint.sh
2026-06-19 08:01:26 +02:00
Janik von Rotz e6b7a58cf9 feat(image): reset git repository hard before pull and add temporary files guidance to AGENTS.md 2026-06-12 17:28:44 +02:00
Janik von Rotz c5d943700a feat(image): add uv Python package manager and update entrypoint to support CMD
- Install uv from astral-sh/uv for Python package management
- Update entrypoint.sh to handle CMD argument and delegate to exec
- Set default CMD to "caddy" in Dockerfile
- Update task script to pull latest build image and set CI=true for pnpm install
2026-06-11 08:54:05 +02:00
Janik von Rotz 8dcc57ddd7 feat(ssh-key): add generate-ssh-key script and update entrypoint for shallow clones and submodule depth 2026-04-17 12:00:01 +02:00
Janik von Rotz 87a80e3230 feat(entrypoint): add SSH host key scanning for git clone to avoid known_hosts errors 2026-04-17 11:18:23 +02:00
Janik von Rotz 5b992d4ee0 docs(agents): refine bash guidelines and update code samples
- Expand AGENTS.md with general agent guidance and coding conventions
- Refactor bash snippets in README.md and scripts to align with style guide:
  - Use `#!/usr/bin/env bash` shebang for portability
  - Remove `function` keyword from definitions
  - Replace `[ ]` conditionals with `[[ ]]` for improved reliability
  - Rename local variables to lowercase with `local` keyword
- Introduce CHANGELOG.md to track project changes per Keep a Changelog spec
- Update taskfile.build scripts to follow consistent bash practices
2025-10-29 12:32:51 +01:00
Janik von Rotz 848a75ec35 feat(git): initialize and update git submodules if .gitmodules file exists 2025-09-19 18:55:13 +02:00
Janik von Rotz 708e6409e3 feat(image): make CADDY_ROOT optional and conditionally execute task commands based on TASK_COMMANDS variable 2025-09-16 18:32:55 +02:00
Janik von Rotz b1e4b3aa23 feat(task): add build-image function and update Docker environment variables in task script 2025-09-14 22:36:27 +02:00
Janik von Rotz 4d945583c1 fix(docker): set execute permission on entrypoint.sh via Dockerfile and update file mode 2025-09-14 22:06:43 +02:00
Janik von Rotz a6d6658bdb feat(docker): add Docker image build and deployment with Forgejo CI and entrypoint script 2025-09-14 15:38:14 +02:00