-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile
48 lines (40 loc) · 2.31 KB
/
Dockerfile
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
39
40
41
42
43
44
45
46
47
48
FROM quay.io/numigi/odoo-public:14.latest
MAINTAINER numigi <[email protected]>
USER root
ARG GIT_TOKEN
COPY .docker_files/test-requirements.txt .
RUN pip3 install -r test-requirements.txt
ENV THIRD_PARTY_ADDONS /mnt/third-party-addons
RUN mkdir -p "${THIRD_PARTY_ADDONS}" && chown -R odoo "${THIRD_PARTY_ADDONS}"
COPY ./gitoo.yml /gitoo.yml
RUN gitoo install-all --conf_file /gitoo.yml --destination "${THIRD_PARTY_ADDONS}"
COPY .docker_files/test-requirements.txt .
RUN pip3 install -r test-requirements.txt
USER odoo
COPY disable_quick_create /mnt/extra-addons/disable_quick_create
COPY google_attachment /mnt/extra-addons/google_attachment
COPY multi_website_user_access /mnt/extra-addons/multi_website_user_access
COPY resize_observer_error_catcher /mnt/extra-addons/resize_observer_error_catcher
COPY web_contextual_search_favorite /mnt/extra-addons/web_contextual_search_favorite
COPY web_custom_label /mnt/extra-addons/web_custom_label
COPY web_custom_modifier /mnt/extra-addons/web_custom_modifier
COPY web_editor_backend_context /mnt/extra-addons/web_editor_backend_context
COPY web_favicon /mnt/extra-addons/web_favicon
COPY web_form_disable_autocomplete /mnt/extra-addons/web_form_disable_autocomplete
COPY web_handle_condition /mnt/extra-addons/web_handle_condition
COPY web_hide_db_manager_link /mnt/extra-addons/web_hide_db_manager_link
COPY web_list_column_width /mnt/extra-addons/web_list_column_width
COPY web_search_date_range /mnt/extra-addons/web_search_date_range
COPY web_search_date_range_account /mnt/extra-addons/web_search_date_range_account
COPY web_trash_condition /mnt/extra-addons/web_trash_condition
COPY website_blog_internal /mnt/extra-addons/website_blog_internal
COPY website_blog_rss_feed_disabled /mnt/extra-addons/website_blog_rss_feed_disabled
COPY website_cookieconsent /mnt/extra-addons/website_cookieconsent
COPY website_geoip /mnt/extra-addons/website_geoip
COPY website_google_analytics_fixed /mnt/extra-addons/website_google_analytics_fixed
COPY website_landing_template /mnt/extra-addons/website_landing_template
COPY website_login_as /mnt/extra-addons/website_login_as
COPY website_sale_wishlist_extended /mnt/extra-addons/website_sale_wishlist_extended
COPY website_slides_extended /mnt/extra-addons/website_slides_extended
COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo