Commit 3ba8af

2026-03-15 00:54:49 Matt Hughes: -/-
development/building pointcaster.md ..
@@ 8,7 8,7 @@
## Linux
-Builds on Linux use a containerised environment created using the [Dockerfile](https://github.com/eidetic-av/pointcaster/blob/qt/Dockerfile) in the root of the repository. This handles download and configuration of all dependencies. Either [Docker](https://docs.docker.com/engine/install/) or [Podman](https://podman.io/docs/installation) must be installed and configured on your system to proceed.
+Builds on Linux use a containerised environment created using the [Dockerfile](https://github.com/eidetic-av/pointcaster/blob/qt/Dockerfile) in the root of the repository. This handles download and configuration of all dependencies. Either [Docker](https://docs.docker.com/engine/install/) or [Podman](https://podman.io/docs/installation) must be installed and configured on your system to proceed.
The Pointcaster AppImage can be built from the repository root like so:
```sh
@@ 19,7 19,7 @@
For a development shell, invoke `bash` or `fish`, where you can configure and build using `cmake`:
```sh
-docker run --rm -it -v ./:/pointcaster:Z -w/pointcaster pointcaster bash
+docker run --rm -it -v ./:/pointcaster:Z -w/pointcaster pointcaster-linux bash
```
Then from inside:
```sh
@@ 34,14 34,23 @@
> The docker image is used as a base for a [Development Container](https://containers.dev/) in IDEs that support it. Visual Studio Code will automatically install extensions needed for C++, CMake and QML. See the [devcontainer.json](https://github.com/eidetic-av/pointcaster/blob/qt/.devcontainer/devcontainer.json).
## Windows
+Official Windows builds use the [Docker](https://docs.docker.com/engine/install/) engine.
+
+> [!NOTE]
+> Because of the nature of Docker on Windows, this isn't so great to use for development.
+
+
- Enable Hyper-V & Containers Windows Features
- Install docker desktop
- Switching docker engine:
```pwsh
& "$Env:ProgramFiles\Docker\Docker\DockerCli.exe" -SwitchDaemon
```
-- Win11 version < 24H2 maybe?:
+build:
```pwsh
-docker pull mcr.microsoft.com/windows/server:ltsc2022
+docker build -f Dockerfile.win -t pointcaster-win .
+```
+For a development shell:
+```
+docker run --rm -it -v ./:C:\pointcaster -w/pointcaster pointcaster-win powershell
```
-- Only newer win versions can use ltsc2025 maybe?
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9