From d5084825fb399995057a300b3b898763d6e3be5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Mon, 14 Aug 2023 17:36:00 -0300 Subject: [PATCH] basic 14.0 Odoo builder image --- 14.0/Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 14.0/Dockerfile diff --git a/14.0/Dockerfile b/14.0/Dockerfile new file mode 100644 index 0000000..3400b44 --- /dev/null +++ b/14.0/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.10.12-alpine3.18 + +RUN apk fix && \ + apk --no-cache --update add git git-lfs gpg less openssh patch bash && \ + git lfs install + +# we cannot use a more recent version for now +# see https://github.com/yaml/pyyaml/issues/724 +# note that we install ak and git-aggregator to be able to do ak-build +# later in a builder image based on this image and ensure odoo/src +# is converged to the proper revision with the proper merges +RUN pip install PyYaml==5.3.1 +RUN pip install git+https://github.com/akretion/ak + +COPY repos.yml /root/.config/git-autoshare/repos.yml +RUN pip install git-autoshare git-aggregator +COPY bin/* /usr/local/bin/ +RUN /usr/local/bin/git clone https://github.com/odoo/odoo.git -b 14.0 --bare