Skip to content

Commit

Permalink
Test for repeatability
Browse files Browse the repository at this point in the history
Update Docker container and run instructions to avoid MPI / Docker security conflicts

This approach is expedient for this example, but probably not the best approach for production deployments.  See separate discussion on this issue open-mpi/ompi#4948.
  • Loading branch information
chimaerase committed Nov 20, 2021
1 parent 822b2be commit 70d696c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM library/python:3.9-slim-buster
FROM library/python:3.9-slim-bullseye
LABEL maintainer="Mark Forrer<mark.forrer@lbl.gov>"
ENV PYTHONUNBUFFERED=1 LANG=C.UTF-8
COPY Pipfile* /tmp/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This command runs a `bash` shell inside the Debian-based Docker container. Pres
back to the command prompt for the host OS.

```bash
docker run -it --rm ptmcmc-example
docker run -it --rm --cap-add=SYS_PTRACE ptmcmc-example
```


Expand All @@ -86,7 +86,7 @@ As above, launch (or use) a `bash` shell in a Docker container. Press CRTL-D to
container and return to the command prompt for the host OS.

```bash
docker run -it --rm ptmcmc-example
docker run -it --rm --cap-add=SYS_PTRACE ptmcmc-example
```

For subsequent examples in this section, both example code and PTMCMCSampler code are run from the
Expand Down

0 comments on commit 70d696c

Please sign in to comment.