Skip to content

Windows 10 Notes

Philip Colmer edited this page Sep 24, 2019 · 13 revisions

This is for guidance/information only. Limited to no support can be provided if you encounter problems trying to use this container under Windows 10.

To run the container under Windows you need to explicitly set the staging/production environment as desired, e.g.:

docker run --rm -it -e JEKYLL_ENV="staging" -v ${pwd}:/srv/source linaroits/jekyllsitebuild:latest

If you want to test your own variant of the build container, replace latest with your own container's tag.

If you want to build and serve the site, change the docker run command to this:

docker run --rm -it -p 4000:4000 -e JEKYLL_ENV="staging" -e JEKYLL_ACTION="serve" -v ${pwd}:/srv/source linaroits/jekyllsitebuild:latest

If you are building a multi-repo site, run a command like this:

docker run --rm -it -e JEKYLL_ENV="staging" -v ${pwd}\..\96b-documentation:/srv/NSBREPO2 -v ${pwd}:/srv/source linaroits/jekyllsitebuild:latest

where the current directory is the 96Boards website repository and ..\96b-documentation contains the 96Boards documentation repository. If you only have one of the repositories on your computer, you can use the original docker run command at the top of this page and the build process will download the missing ones automatically.