Feat: Se agrega PUDB

This commit is contained in:
2024-12-29 17:13:15 -05:00
parent 9f0bb915f4
commit a1b947f852
4 changed files with 35 additions and 2 deletions

View File

@@ -2,21 +2,26 @@
FROM node as builder-node
ARG TRYTOND_VERSION
ENV SERIES=${TRYTOND_VERSION}
ARG GITEA_USER
ARG GITEA_PASSWORD
ARG GITEA_DOMAIN
ARG FACHO
ARG FACHO_BRANCH
ENV SERIES=${TRYTOND_VERSION}
RUN npm install -g bower
RUN curl https://downloads.tryton.org/${SERIES}/tryton-sao-last.tgz | tar zxf - -C /
RUN cd /package && bower install --allow-root
FROM python:3.11-bullseye
ARG TRYTOND_VERSION
ENV SERIES=${TRYTOND_VERSION}
# trytond DB_CACHE requiere commandos `pg_dump` y `pg_restore`
RUN apt-get update && apt-get install -y postgresql-client
RUN pip3 install trytond==${SERIES}.*
# TOMADO DE: https://hg.tryton.org/tryton-docker/file/tip/6.6/Dockerfile
COPY --from=builder-node /package /var/lib/trytond/www