-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 <[email protected]>
- Loading branch information
1 parent
07834ab
commit ccc3eb7
Showing
3 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# -*- bash -*- | ||
|
||
kill $nc_pid &> /dev/null | ||
kill $nc_pid &> /dev/null || true | ||
rm -f $OUTFILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters