Actualiser 0.ManualToto.txt
This commit is contained in:
parent
9c8c841f5f
commit
e57f44008a
1 changed files with 9 additions and 20 deletions
|
|
@ -1,23 +1,12 @@
|
|||
0) mkdir -p odoo-filestore odoo-logs odoo-postgresql custom
|
||||
|
||||
1) dans 2.build.postgresql.sh ,
|
||||
1) dans 1.gitclone.sh
|
||||
|
||||
# recupérer le commit sur l'url pour cloner Dockerfile d'odoo V18
|
||||
# par exemple :
|
||||
# URL : https://github.com/odoo/docker/tree/b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe/18.0
|
||||
# Commit = b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe
|
||||
|
||||
|
||||
2) dans 2.build.postgresql.sh ,
|
||||
alimenter le port choisi pour porsgresql (variable NEW_PORT)
|
||||
|
||||
2) dans Congif-odoo, git clone de odoo Dockerhub
|
||||
|
||||
github odoo > github ==> branche , récupérer lien (..., cpoy permalink)
|
||||
ex:
|
||||
cd config-odoo
|
||||
BASE="https://raw.githubusercontent.com/odoo/docker/b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe/18.0"
|
||||
curl -O "${BASE}/Dockerfile"
|
||||
curl -O "${BASE}/entrypoint.sh"
|
||||
curl -O "${BASE}/wait-for-psql.py"
|
||||
chmod +x entrypoint.sh wait-for-psql.py
|
||||
sed -i 's/curl \\/curl vim \\/' Dockerfile
|
||||
|
||||
2) ajoute vim dans dockerfile
|
||||
3) Update Dockerfile, (avant le COPY ./entrypoint.sh /)
|
||||
|
||||
# Install Python dependencies for OCA modules
|
||||
COPY ./requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue