File: package.dfsrc

package info (click to toggle)
odoo 19.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,152,252 kB
  • sloc: javascript: 1,119,519; python: 856,585; xml: 474,763; sh: 704; sql: 508; makefile: 27
file content (38 lines) | stat: -rw-r--r-- 888 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Please note that this Dockerfile is used for testing nightly builds and should
# not be used to deploy Odoo
FROM ubuntu:noble
MAINTAINER Odoo S.A. <info@odoo.com>

RUN userdel -r ubuntu

RUN apt-get update && \
	apt-get install -y locales && \
	rm -rf /var/lib/apt/lists/*

# Reconfigure locales such that postgresql uses UTF-8 encoding
RUN dpkg-reconfigure locales && \
    locale-gen C.UTF-8 && \
    /usr/sbin/update-locale LANG=C.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update -qq &&  \
	apt-get upgrade -qq -y && \
	apt-get install \
		postgresql \
		postgresql-server-dev-all \
		postgresql-client \
		adduser \
		libldap2-dev \
		libsasl2-dev \
		python3-pip \
		python3-venv \
		python3-wheel \
		build-essential \
		python3 -y && \
	rm -rf /var/lib/apt/lists/*

COPY requirements.txt /opt/release/requirements.txt

RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc

USER odoo