Skip to content

Commit

Permalink
docker: update README.md
Browse files Browse the repository at this point in the history
based on the text provided by @haampie in #432, resolves #432
  • Loading branch information
dev-zero committed May 15, 2021
1 parent bf6c269 commit c9b6528
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions tools/docker/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Docker images

All images are hosted on the [GitHub Container Registry of the CP2K organization](https://github.com/orgs/cp2k/packages).

## Ubuntu Build Environment

The image is based on Ubuntu 20.04 and contains:
Expand All @@ -17,7 +19,7 @@ The image is based on Ubuntu 20.04 and contains:

```console
$ cd dbcsr
$ docker run --rm -it -v $PWD:/app --workdir /app --user $(id -u):$(id -g) dbcsr/build-env-ubuntu-20.04 /bin/bash
$ docker run --rm -it -v $PWD:/app --workdir /app --user $(id -u):$(id -g) ghcr.io/cp2k/dbcsr-build-env-ubuntu-20.04 /bin/bash
$ mkdir build && cd build/
$ cmake -G Ninja ..
$ cmake --build .
Expand All @@ -29,7 +31,7 @@ If you need to rebuild the image, use:

```console
$ cd dbcsr/tools/docker
$ docker build -t dbcsr/build-env-ubuntu-20.04 -f Dockerfile.build-env-ubuntu .
$ docker build -t dbcsr-build-env-ubuntu-20.04 -f Dockerfile.build-env-ubuntu .
```

## ROCm Build Environment
Expand All @@ -41,7 +43,16 @@ The image is based on Ubuntu 20.04 and contains:
* MPICH
* CMake (recent version)
* Ninja (recent version)
* Git 2.18+
* ROCm
* ROCm libraries (rocblas, rocsolver, hipblas)
* Git
* ROCm (hip, rocblas, rocsolver, hipblas)

## Latest GCC Build Environment

The image is based on `gcc:latest`, which in turn uses Debian (testing). It contains:

* Latest GNU Fortran Compiler
* OpenBLAS
* CMake (recent version)
* Ninja (recent version)
* Git
* **no** MPI

0 comments on commit c9b6528

Please sign in to comment.