Skip to content

feat: add Bareos 22-ubuntu images, re-enable Ubuntu CI, add version skill#205

Closed
dark-vex wants to merge 35 commits intobarcus:masterfrom
dark-vex:feat/bareos-22-ubuntu-ollama-infra
Closed

feat: add Bareos 22-ubuntu images, re-enable Ubuntu CI, add version skill#205
dark-vex wants to merge 35 commits intobarcus:masterfrom
dark-vex:feat/bareos-22-ubuntu-ollama-infra

Conversation

@dark-vex
Copy link
Copy Markdown
Contributor

@dark-vex dark-vex commented Apr 18, 2026

No description provided.

dark-vex and others added 30 commits October 4, 2025 11:26
- Created client/24-alpine with Alpine 3.22 base
- Created storage/24-alpine with Alpine 3.22 base
- Created webui/24-alpine with Alpine 3.22 base
- Created api/24-alpine with Alpine 3.22 base
- All images include appropriate docker-entrypoint.sh scripts
- CI system configured to build for amd64 and arm64 architectures

Resolves #11

Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
Alpine 3.20 and 3.22 don't include Bareos packages in their default
repositories. This fixes the build failure by adding the Alpine edge
community repository as a package source.

Changes:
- Updated all 22-alpine Dockerfiles (Alpine 3.20) to use edge repo
- Updated all 24-alpine Dockerfiles (Alpine 3.22) to use edge repo
- Affects: client, director-pgsql, storage, and webui images

Fixes the build error:
ERROR: unable to select packages:
  bareos (no such package)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
Bareos packages are not available in Alpine Linux repositories after
version 3.16. Alpine 3.20 and 3.22 (and even the edge repository) do
not contain Bareos packages.

This commit downgrades all 22-alpine and 24-alpine images to use
Alpine 3.16 as the base image, matching the working 21-alpine
configuration. This ensures Bareos packages can be installed from
Alpine's community repository.

Changes:
- Use Alpine 3.16 instead of 3.20 for all 22-alpine images
- Use Alpine 3.16 instead of 3.22 for all 24-alpine images
- Remove --repository=edge flag as it's not needed with 3.16

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Daniele De Lorenzi <dark-vex@users.noreply.github.com>
dark-vex and others added 5 commits April 16, 2026 22:19
Docker Compose V2 uses hyphens instead of underscores in container names.
The bconsole exec step was referencing the old V1 name (bareos_bareos-dir_1)
instead of the current V2 name (bareos-bareos-dir-1).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(ci): update container name for Docker Compose V2 naming convention
* fix(ci): upgrade mysql from 5.6 to 5.7 in alpine-mysql-v2 compose

mysql:5.6 is EOL and fails to start on modern kernels (6.x).
mysql:5.7 is compatible with Bareos 19 and works on Ubuntu 24.04 runners.

fix(bareos): use versioned release tags for webui config downloads

The webui-admin.conf file was removed from the bareos/bareos 'master'
branch, causing all directors to crash on startup by saving 404 HTML
as a Bareos config file.

Fix per version:
- v16/v17: remove download blocks entirely (files never existed upstream)
- v18: use Release/18.2.12
- v19: use Release/19.2.13
- v20: use Release/20.0.9
- v21: use Release/21.1.11
- v22: use Release/22.1.8
- v24: use Release/24.0.10

* Added Claude.md

Signed-off-by: Daniele De Lorenzi <2905124+dark-vex@users.noreply.github.com>
…kill

- Add client/storage/director-pgsql/webui 22-ubuntu Dockerfiles and
  entrypoints, adapting the 24-ubuntu bases to xUbuntu_22.04 (jammy)
  and the bareos.org current/ apt repo
- Remove the 'continue' guard in prepare-bareos-app/entrypoint.sh that
  disabled all Ubuntu image builds in CI
- Add .claude/skills/add-bareos-version/ project skill that delegates
  Dockerfile generation to the ollama-orchestrator subagent, with an
  upstream source mapping table for future version additions
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.

1 participant