[IMP] Install testing requirements into separate image.

Fixes #277
This commit is contained in:
Adam Heinz 2022-04-07 14:53:39 -04:00
parent f2933c5158
commit 5c78e14679
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,5 @@
FROM debian:bullseye-slim
MAINTAINER Odoo S.A. <info@odoo.com>
LABEL maintainer="Odoo S.A. <info@odoo.com>"
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]

12
15.0/test.Dockerfile Normal file
View File

@ -0,0 +1,12 @@
ARG version=15
ARG image=odoo:${version}
FROM ${image}
LABEL maintainer="Odoo S.A. <info@odoo.com>"
# Install testing requirements
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends chromium && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install websocket-client
USER odoo