Skip to content

Commit

Permalink
IMP: opcion para pasar el token de git en V18 para usar en repositori…
Browse files Browse the repository at this point in the history
…os privados
  • Loading branch information
celm1990 committed Dec 5, 2024
1 parent 271d457 commit 4045065
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 18.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ ONBUILD ARG PGPASSWORD=odoopassword
ONBUILD ARG PGHOST=db
ONBUILD ARG PGPORT=5432
ONBUILD ARG PGDATABASE=prod
ONBUILD ARG GIT_TOKEN=""

# Config variables
ONBUILD ENV ADMIN_PASSWORD="$ADMIN_PASSWORD" \
Expand All @@ -242,7 +243,8 @@ ONBUILD ENV ADMIN_PASSWORD="$ADMIN_PASSWORD" \
SMTP_PASSWORD="$SMTP_PASSWORD" \
SMTP_SSL="$SMTP_SSL" \
EMAIL_FROM="$EMAIL_FROM" \
WITHOUT_DEMO="$WITHOUT_DEMO"
WITHOUT_DEMO="$WITHOUT_DEMO" \
GIT_TOKEN="$GIT_TOKEN"
ONBUILD ARG LOCAL_CUSTOM_DIR=./custom
ONBUILD COPY --chown=root:odoo $LOCAL_CUSTOM_DIR /opt/odoo/custom

Expand Down

0 comments on commit 4045065

Please sign in to comment.