feat(image): new base mage

This commit is contained in:
Janik von Rotz committed 2025-02-21 09:15:37 +01:00
1 parent 867c4f4731
commit ebd9c01a1f
3 files changed
+13 -1

No files matched your search

+6
View File
@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## Undefined
### Updated
* Change base image to `python:3.12-slim-bookworm`
## 2025-02-20
### Fixed
+1 -1
View File
@@ -1,6 +1,6 @@
#FROM: https://github.com/odoo/docker/blob/master/18.0/Dockerfile
FROM debian:bookworm-slim
FROM python:3.12-slim-bookworm
LABEL org.opencontainers.image.source="https://github.com/mint-system/odoo-build"
LABEL org.opencontainers.image.authors="Mint System GmbH <info@mint-system.ch>"
+6
View File
@@ -689,6 +689,12 @@ function publish() {
docker --config "$CONTAINER_CONFIG" push "${CONTAINER_REGISTRY}${CONTAINER_TAG}"
docker --config "$CONTAINER_CONFIG" push "${CONTAINER_REGISTRY}${LATEST_TAG}"
fi
if [ "$CONTAINER_ENGINE" == "podman" ]; then
echo "Push container image to ${CONTAINER_REGISTRY}${CONTAINER_TAG}"
podman push "${CONTAINER_REGISTRY}${CONTAINER_TAG}"
podman push "${CONTAINER_REGISTRY}${LATEST_TAG}"
fi
}
function upload-module() {