Fix README.md Dockerfile sample 57/74057/7
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 30 Jun 2023 08:57:28 +0000 (10:57 +0200)
committerCedric Ollivier <cedric.ollivier@orange.com>
Thu, 16 Nov 2023 15:53:49 +0000 (15:53 +0000)
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 <guillaume.lambert@orange.com>
README.md

index 3189ad0..23c251c 100644 (file)
--- 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"]
 ```