Docker must be installed on your system. See Docker Installation for more information. Visual Studio Code is also recommended for development for attaching to the docker container. See Visual Studio Code for more information.
- Clone the F` project into a directory of your choice.
- Run
docker pull ghcr.io/nu-horizonsat/fprime-docker:mainto pull the docker image. - Run
docker run -it -v <path to fprime project>:/root/project ghcr.io/nu-horizonsat/fprime-docker:mainto start the docker container. This will mount the fprime project directory to the docker container. This will allow you to edit the files on your host machine and run the build from the docker container. - Open Visual Studio Code and install the Remote - Containers extension.
- Press Ctrl+Shift+P and select
Remote-Containers: Attach to Running Container...and select the container that you started in step 3. - Using Visual Studio Code, open the
/root/projectdirectory. - Open a terminal in Visual Studio Code and run
fprime-util generateto generate the build files andfprime-util build -j4to build the project.
The docker container also contains fprime-gds.