Skip to content

Commit

Permalink
[IMP] Install testing requirements into separate image.
Browse files Browse the repository at this point in the history
Fixes #277
  • Loading branch information
amh-mw committed Apr 18, 2022
1 parent f2933c5 commit 5c78e14
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 15.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM debian:bullseye-slim
MAINTAINER Odoo S.A. <[email protected]>
LABEL maintainer="Odoo S.A. <[email protected]>"

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

Expand Down
12 changes: 12 additions & 0 deletions 15.0/test.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ARG version=15
ARG image=odoo:${version}
FROM ${image}
LABEL maintainer="Odoo S.A. <[email protected]>"

# 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

0 comments on commit 5c78e14

Please sign in to comment.