Skip to content

Commit

Permalink
Merge pull request #2183 from mayankchetan/dockerDocs
Browse files Browse the repository at this point in the history
Update GHCR doc, remove old Dockerfile
  • Loading branch information
andrew-platt authored May 6, 2024
2 parents 2510bc2 + 51b122e commit c867e1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
5 changes: 3 additions & 2 deletions docs/source/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,15 @@ To pull and run with local files:

.. code-block:: shell
docker run --rm -it --volume=/path/to/files:/files ghcr.io/OpenFAST/openfast:latest openfast /files/main.fst
docker run --rm -it --volume=/path/to/files:/files ghcr.io/openfast/openfast:latest openfast /files/main.fst
For running the container interactively:

.. code-block:: shell
docker run --rm -it --volume=/path/to/files:/files ghcr.io/OpenFAST/openfast:latest /bin/bash
docker run --rm -it --volume=/path/to/files:/files ghcr.io/openfast/openfast:latest /bin/bash
To pull a specific release, substitute the version number in place of `latest` in the above commands (i.e. `ghcr.io/openfast/openfast:3.5.3`).

Build your own images
---------------------
Expand Down
4 changes: 2 additions & 2 deletions share/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and `openfast` added. The image built by this `Dockerfile` can be customised at

## Image registry
Production images of OpenFAST for the `linux/amd64` platform are available on the
[NREL docker hub](https://hub.docker.com/r/nrel/openfast).
[NREL docker hub](https://hub.docker.com/r/nrel/openfast) and OpenFAST's [GitHub Container Registry](https://github.com/OpenFAST/openfast/pkgs/container/openfast).

## Build arguments
Provide any of the following build arguments to customise the image at build time.
Expand All @@ -25,7 +25,7 @@ For example, to build OpenFAST v3.5.3 for the `linux/amd64` platform and set `CM
```shell
# Run from the root of this repository.
git checkout v3.5.3
docker build -f share/docker/Dockerfile -t openfast:3.5.3 --platform=linux/amd64 --build-arg=CMAKE_OPTIONS='-DBUILD_TESTING=ON' .
docker build -f share/docker/Dockerfile -t openfast:3.5.3 --platform=linux/amd64 --build-arg=CMAKE_OPTIONS='-DCMAKE_BUILD_TYPE=RELEASE' .
```

**NOTE:** This version of the `Dockerfile` is only available in v3.5.3 and up of this repository. To build earlier
Expand Down
29 changes: 0 additions & 29 deletions share/docker/openfast_dev/Dockerfile

This file was deleted.

0 comments on commit c867e1a

Please sign in to comment.