Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GHCR doc, remove old Dockerfile #2183

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.