-
Notifications
You must be signed in to change notification settings - Fork 12
/
Dockerfile
42 lines (35 loc) · 2.12 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
FROM quay.io/numigi/odoo-public:14.latest
MAINTAINER numigi <contact@numigi.com>
USER root
COPY .docker_files/test-requirements.txt .
RUN pip3 install -r test-requirements.txt
# Variable used for fetching private git repositories.
ARG GIT_TOKEN
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}"
USER odoo
COPY product_barcode_upc /mnt/extra-addons/product_barcode_upc
COPY product_brand_archive /mnt/extra-addons/product_brand_archive
COPY product_create_group /mnt/extra-addons/product_create_group
COPY product_dangerous_goods /mnt/extra-addons/product_dangerous_goods
COPY product_dimension /mnt/extra-addons/product_dimension
COPY product_extra_views /mnt/extra-addons/product_extra_views
COPY product_extra_views_purchase /mnt/extra-addons/product_extra_views_purchase
COPY product_extra_views_sale /mnt/extra-addons/product_extra_views_sale
COPY product_extra_views_stock /mnt/extra-addons/product_extra_views_stock
COPY product_kit /mnt/extra-addons/product_kit
COPY product_manufacturer_quick_search /mnt/extra-addons/product_manufacturer_quick_search
COPY product_panel_shortcut /mnt/extra-addons/product_panel_shortcut
COPY product_pricelist_direct_print_chatter /mnt/extra-addons/product_pricelist_direct_print_chatter
COPY product_pricelist_direct_print_extended /mnt/extra-addons/product_pricelist_direct_print_extended
COPY product_purchase_order_link /mnt/extra-addons/product_purchase_order_link
COPY product_reference /mnt/extra-addons/product_reference
COPY product_reference_list_view /mnt/extra-addons/product_reference_list_view
COPY product_stock_read_access_actions /mnt/extra-addons/product_stock_read_access_actions
#COPY product_template_tags_stock_menu /mnt/extra-addons/product_template_tags_stock_menu
COPY product_variant_button_complete_form /mnt/extra-addons/product_variant_button_complete_form
COPY stock_barcode_upc /mnt/extra-addons/stock_barcode_upc
COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo