File tree 3 files changed +39
-0
lines changed
3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ ARG version=16
2
+ ARG image=odoo:${version}
3
+ FROM ${image}
4
+
5
+ # Install testing requirements
6
+ USER root
7
+ RUN apt-get update && \
8
+ apt-get install -y --no-install-recommends chromium && \
9
+ rm -rf /var/lib/apt/lists/*
10
+ RUN pip3 install websocket-client
11
+ USER odoo
Original file line number Diff line number Diff line change
1
+ ARG version=17
2
+ ARG image=odoo:${version}
3
+ FROM ${image}
4
+
5
+ # Install testing requirements
6
+ USER root
7
+ RUN curl -o google-chrome-stable_current_amd64.deb -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
8
+ apt-get update && \
9
+ DEBIAN_FRONTEND=noninteractive \
10
+ apt-get install -y --no-install-recommends \
11
+ ./google-chrome-stable_current_amd64.deb \
12
+ python3-websocket \
13
+ && rm -rf /var/lib/apt/lists/* ./google-chrome-stable_current_amd64.deb
14
+ USER odoo
Original file line number Diff line number Diff line change
1
+ ARG version=18
2
+ ARG image=odoo:${version}
3
+ FROM ${image}
4
+
5
+ # Install testing requirements
6
+ USER root
7
+ RUN curl -o google-chrome-stable_current_amd64.deb -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
8
+ apt-get update && \
9
+ DEBIAN_FRONTEND=noninteractive \
10
+ apt-get install -y --no-install-recommends \
11
+ ./google-chrome-stable_current_amd64.deb \
12
+ python3-websocket \
13
+ && rm -rf /var/lib/apt/lists/* ./google-chrome-stable_current_amd64.deb
14
+ USER odoo
You can’t perform that action at this time.
0 commit comments