Improve compose tests

* Add traps to report setup, tests, and teardown errors as failures
* Pass through return code of podman commands
* Fix unset variables
* Fix simple_port_map image build when installing flask (PEP 668 - externally managed environment error)
* Ignore kill errors in slirp4netns_opts teardown steps

Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
This commit is contained in:
Gavin Lam
2023-12-16 11:21:59 -05:00
parent 07834ab39e
commit ccc3eb774d
3 changed files with 24 additions and 10 deletions

View File

@ -1,6 +1,6 @@
FROM alpine
WORKDIR /app
RUN apk update && apk add py3-pip && pip3 install flask
RUN apk update && apk add py3-flask
COPY . /app
ENTRYPOINT ["python3"]
CMD ["app.py"]