gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
868B

  1. # Please note that this Dockerfile is used for testing nightly builds and should
  2. # not be used to deploy Odoo
  3. FROM debian:bookworm
  4. MAINTAINER Odoo S.A. <info@odoo.com>
  5. RUN apt-get update && \
  6. apt-get install -y locales && \
  7. rm -rf /var/lib/apt/lists/*
  8. # Reconfigure locales such that postgresql uses UTF-8 encoding
  9. RUN dpkg-reconfigure locales && \
  10. locale-gen C.UTF-8 && \
  11. /usr/sbin/update-locale LANG=C.UTF-8
  12. ENV LC_ALL C.UTF-8
  13. RUN apt-get update -qq && \
  14. apt-get upgrade -qq -y && \
  15. apt-get install \
  16. postgresql \
  17. postgresql-server-dev-all \
  18. postgresql-client \
  19. adduser \
  20. libldap2-dev \
  21. libsasl2-dev \
  22. python3-pip \
  23. python3-venv \
  24. python3-wheel \
  25. build-essential \
  26. python3 -y && \
  27. rm -rf /var/lib/apt/lists/*
  28. COPY requirements.txt /opt/release/requirements.txt
  29. RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc
  30. USER odoo
上海开阖软件有限公司 沪ICP备12045867号-1