Skip to content

Commit 5c78e14

Browse files
committed
[IMP] Install testing requirements into separate image.
Fixes #277
1 parent f2933c5 commit 5c78e14

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

15.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM debian:bullseye-slim
2-
MAINTAINER Odoo S.A. <[email protected]>
2+
LABEL maintainer="Odoo S.A. <[email protected]>"
33

44
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
55

15.0/test.Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ARG version=15
2+
ARG image=odoo:${version}
3+
FROM ${image}
4+
LABEL maintainer="Odoo S.A. <[email protected]>"
5+
6+
# Install testing requirements
7+
USER root
8+
RUN apt-get update && \
9+
apt-get install -y --no-install-recommends chromium && \
10+
rm -rf /var/lib/apt/lists/*
11+
RUN pip3 install websocket-client
12+
USER odoo

0 commit comments

Comments
 (0)