Block a user
naliia (7.6)
Published 2026-01-19 13:43:38 -05:00 by Aserrador
Installation
docker pull gitea.onecluster.org/aserrador/naliia:7.6sha256:087f645d3e40664007ca24b8ab2f3b4612790371806bbdd5496ee4aabb2df750Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1768176000' |
| RUN groupadd -r trytond && useradd --no-log-init -r -d /var/lib/trytond -m -g trytond trytond && mkdir /var/lib/trytond/db && chown trytond:trytond /var/lib/trytond/db && mkdir /var/lib/trytond/www && mkdir -p /etc/python3 && echo "[DEFAULT]\nbyte-compile = standard, optimize" > /etc/python3/debian_config |
| RUN apt-get update && apt-get install -y --no-install-recommends curl python3 python3-pip python3-setuptools python3-wheel gunicorn python3-argcomplete bash-completion python3-argon2 python3-bcrypt python3-genshi python3-gevent python3-html2text python3-pil python3-levenshtein python3-lxml python3-polib python3-psycopg2 python3-pydot python3-werkzeug python3-wrapt python3-dateutil python3-ldap3 python3-magic python3-ofxparse python3-pypdf python3-pysimplesoap python3-requests python3-simpleeval python3-tz python3-yaml python3-zeep && rm -rf /var/lib/apt/lists/* |
| RUN mkdir -p /etc/bash_completion.d && activate-global-python-argcomplete |
| COPY pip-constraints.txt* /root/pip-constraints.txt |
| RUN export PIP_CONSTRAINT=/root/pip-constraints.txt && touch /root/pip-constraints.txt && pip3 install --break-system-packages --no-cache-dir "trytond == ${SERIES}.*" "proteus == ${SERIES}.*" && for module in `curl -L https://downloads.tryton.org/${SERIES}/modules.txt`; do pip3 install --break-system-packages --no-cache-dir "trytond_${module} == ${SERIES}.*" || exit 1; done && pip3 install --break-system-packages --no-cache-dir python-barcode[images] qrcode[pil] webcolors email-validator dnspython phonenumberslite pycountry python-stdnum[SOAP] schwifty && python3 -m compileall -r 10 -o 1 -q |
| COPY --from=builder-node /package /var/lib/trytond/www |
| COPY entrypoint.sh / |
| COPY trytond.conf /etc/trytond.conf |
| COPY gunicorn.conf.py /etc/gunicorn.conf.py |
| LABEL org.label-schema.version= |
| ARG TRYTOND_VERSION |
| ARG DEVELOP |
| ARG WORKER |
| USER root |
| |1 TRYTOND_VERSION=7.6 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git python3-click uwsgi uwsgi-plugin-python3 libreoffice |
| |1 TRYTOND_VERSION=7.6 /bin/sh -c echo "Install modules non official" |
| COPY file:867347d3f65f5507a802e06e00ce4bb6bc0b2f67e54e376631039ffba3a10c55 in /etc/trytond.conf |
| COPY file:89d13fc4d325545e61dd1dc1c67d2fb398050f1611401de3f3a4dd7c0fd37cde in /etc/trytond_worker.conf |
| COPY file:bc31e6d7bd5f8e225f60801cb0719ae271b33d49b7071c2749f8f5b8a0a6b51f in /etc/gunicorn.conf.py |
| COPY file:47b72181ec8d9fb77798ad05af2f44be1a1be7816b6a5bc710b69cabd2c2e507 in /opt |
| |1 TRYTOND_VERSION=7.6 /bin/sh -c pip install --break-system-packages -r /opt/requirements.txt |
| COPY file:fa707506bcc73dc4b48035481ec9c5d0eab205b588242bf190393ee23734cae8 in /opt |
| COPY file:ae726b9c987de4fccb6030f75f0846c8aa0bbf3759784645e12f94013a731d68 in /etc/trytond_logging.conf |
| COPY file:446c8e5cb97ae11e211c3505d5d098b8711eeedf4736a1e67e00ada7e5caf6ca in /etc/trytond_cron_logging.conf |
| COPY file:a23743653eb4d24374846c63ba0dc97c900280bc7d098ae20c15528cc64f6c0c in /etc/trytond_worker_logging.conf |
| COPY file:eb7b6fc988c549c2e90572776b69ed672c165ae16f346962c465d8738fab1850 in /etc/common_password.txt |
| COPY dir:4fd10e88e3434a8b3600c2f62f21356d9efc52fd68044536d45e807adfef68f5 in /app/modules |
| COPY file:f9fb64006448d444a2e68cfd6bb54929c220d9e01ee9e0f6aa275f47a7701a39 in /app/install_modules.sh |
| |1 TRYTOND_VERSION=7.6 /bin/sh -c chmod +x /app/install_modules.sh && /bin/bash /app/install_modules.sh |
| |1 TRYTOND_VERSION=7.6 /bin/sh -c rm -rf /var/lib/trytond/www |
| COPY dir:da8a7c520f085de01af7f6dc0112f1e3a744b4d7cefc7a4b955c8cc9243945a6 in /var/lib/trytond/www |
| COPY dir:073b2e56f0ec4b01ace99cc86c10a25cf03ab4ca5324a18708922f71bac41df1 in /var/lib/trytond/www/ |
| ARG TRYTONPASSFILE |
| ARG TRYTON_ADMIN_PASSWORD |
| ENV TRYTONPASSFILE=/etc/trytond_admin_pass.conf |
| |2 TRYTOND_VERSION=7.6 TRYTON_ADMIN_PASSWORD=s0p0rt3f1n4l* /bin/sh -c touch /etc/trytond_populate.conf && touch $TRYTONPASSFILE && echo $TRYTON_ADMIN_PASSWORD >> $TRYTONPASSFILE && chown -R trytond:trytond /etc/trytond* && rm -rf /var/log/trytond && mkdir /var/log/trytond && chown -R trytond:trytond /var/log/trytond && rm -rf /mnt/attachment && mkdir /mnt/attachment && chown -R trytond:trytond /mnt/attachment |
| USER trytond |
| CMD ["/bin/bash"] |
Labels
| Key | Value |
|---|---|
| maintainer | Tryton <foundation@tryton.org> |
| org.label-schema.name | Tryton |
| org.label-schema.schema-version | 1.0 |
| org.label-schema.url | http://www.tryton.org/ |
| org.label-schema.vendor | Tryton |
| org.label-schema.version |