-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |