Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions containers/odoo/Earthfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
VERSION 0.8
IMPORT .. AS common

ARG --global BASE_VERSION
ARG --global TAG
ARG --global GITHUB_REPOSITORY_OWNER

odoo-base:
FROM docker.io/bitnamilegacy/odoo:${BASE_VERSION}
DO common+ADD_LABELS

validate:
FROM +odoo-base
RUN --no-cache test -n "$BASE_VERSION" || (echo "BASE_VERSION is required" && exit 1)

build:
BUILD +validate
FROM +odoo-base
DO common+SAVE_IMAGE --IMAGE_NAME=odoo --TAG=${TAG} --GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER}

build-multiplatform:
DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./odoo+build
18 changes: 18 additions & 0 deletions containers/odoo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# odoo

Aliased container image for Odoo.

## Available Versions

<!-- VERSIONS_START -->

| Tag | Base Version |
| ---------------------------- | -------------------------- |
| `18.0.20250705-debian-12-r0` | 18.0.20250705-debian-12-r0 |
<!-- VERSIONS_END -->

## Usage

```bash
docker pull ghcr.io/expnt/containers/odoo:<tag>
```
9 changes: 9 additions & 0 deletions containers/odoo/versions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
image_name: odoo
tag_pattern: "{base_version}"
versions:
- base_version: "18.0.20250705-debian-12-r0"
watch:
- pattern: ^\d+\.\d+\.\d+-debian-\d+-r\d+$
source: docker.io/bitnamilegacy/odoo
target: base_version
type: docker
Loading