From 0d6bb30968d1092caeffee4159feccf6319ff565 Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Fri, 30 Jun 2023 10:57:28 +0200 Subject: [PATCH] Fix README.md Dockerfile sample Current Dockerfile sample does not work anymore. - bump alpine version to 3.18 - add py3-libxml2 package installation - update testcases target location Change-Id: I5315dc5277674dcd32b07344534681d29ef9d5e6 Signed-off-by: guillaume.lambert --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3189ad07..23c251cc 100644 --- a/README.md +++ b/README.md @@ -177,12 +177,12 @@ tiers: Dockerfile ``` -FROM alpine:3.12 +FROM alpine:3.18 ADD . /src/ -RUN apk --no-cache add --update python3 py3-pip py3-wheel git && \ +RUN apk --no-cache add --update python3 py3-pip py3-wheel git py3-lxml && \ git init /src && pip3 install /src -COPY testcases.yaml /usr/lib/python3.8/site-packages/xtesting/ci/testcases.yaml +COPY testcases.yaml /etc/xtesting/testcases.yaml CMD ["run_tests", "-t", "all"] ``` -- 2.16.6