From: guillaume.lambert Date: Fri, 30 Jun 2023 08:57:28 +0000 (+0200) Subject: Fix README.md Dockerfile sample X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0d6bb30968d1092caeffee4159feccf6319ff565;p=functest-xtesting.git 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 --- 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"] ```