aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguillaume.lambert <guillaume.lambert@orange.com>2023-06-30 10:57:28 +0200
committerCedric Ollivier <cedric.ollivier@orange.com>2023-11-16 15:53:49 +0000
commit0d6bb30968d1092caeffee4159feccf6319ff565 (patch)
treeec24b720b3b6b2f9a90683a10109a30559ff3c63
parent629fd71687fee1025eccdc22c5f3bf41bc851121 (diff)
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 <guillaume.lambert@orange.com>
-rw-r--r--README.md6
1 files 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"]
```