Skip to content

Commit

Permalink
docker: update readme to include centos8 and build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gonsie authored and grondo committed Jul 24, 2020
1 parent a844f06 commit 0c0a0e1
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions src/test/docker/README.md
Expand Up @@ -13,12 +13,13 @@ or a tagged version of flux-core.

#### fluxrm/testenv Docker images

The Dockerfiles under `bionic/Dockerfile`, `focal/Dockerfile` and
`centos7/Dockerfile` describe the images built under the
`fluxrm/testenv:bionic`, `fluxrm/testenv:focal` and `fluxrm/testenv:centos7`
respectively, and include the base dependencies required to build
flux-core. These images are updated manually by flux-core maintainers, but
the Dockerfiles should be kept up to date for a single point of management.
The Dockerfiles `bionic/Dockerfile`, `focal/Dockerfile`,
`centos7/Dockerfile`, and `centos8/Dockerfile` describe the images built
under the `fluxrm/testenv:bionic`, `fluxrm/testenv:focal`,
`fluxrm/testenv:centos7`, and `fluxrm/testenv:centos8` respectively, and
include the base dependencies required to build flux-core. These images
are updated manually by flux-core maintainers, but the Dockerfiles should
be kept up to date for a single point of management.

#### The travis build Dockerfile

Expand Down Expand Up @@ -55,3 +56,18 @@ $ for i in bionic centos7; do
done
```

#### Local Testing

Developers can test the docker images themselves. If new dependencies are needed,
they can update the `$image` Dockerfiles manually (where `$image` is one of bionic, centos7, centos8, or focal).
To create a local Docker image, run the command:

```
docker build -t fluxrm/testenv:$image src/test/docker/$image
```

To test the locally created image, run:

```
src/test/docker/docker-run-checks.sh -i $image [options] -- [arguments]
```

0 comments on commit 0c0a0e1

Please sign in to comment.