diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-07-01 09:49:58 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-07-07 10:43:38 +0200 |
commit | 861f79d46397d8bbc5b55b95bc4ca2ac0fb1f247 (patch) | |
tree | e396c5e2e67e6045dedea9f54163a8fa8880d277 /docker/core/Dockerfile | |
parent | 4c91aa8d974d95fec6b39741102327716a7cf20d (diff) |
Update to Alpine 3.16
It also switches to pytest because
nose fails vs py3.10.
Change-Id: I920baef12d4934b359873519d5518835007c2f02
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r-- | docker/core/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index b083e36a..f8d21c22 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.15 +FROM alpine:3.16 ARG BRANCH=master ARG OPENSTACK_TAG=master @@ -27,7 +27,7 @@ RUN apk -U upgrade && \ addgroup -g 1000 xtesting && adduser -u 1000 -G xtesting -D xtesting && \ mkdir -p /var/lib/xtesting/results && chown -R xtesting: /var/lib/xtesting && \ apk del .build-deps -COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml +COPY testcases.yaml /usr/lib/python3.10/site-packages/xtesting/ci/testcases.yaml USER xtesting WORKDIR /var/lib/xtesting/results CMD ["run_tests", "-t", "all"] |