Neat!
Running it with a dev server 😃
The prebuild binary for MacOS is not working on my ARM powered Macbook.
Building the Docker images are giving me some errors
$ docker build -t narr -f etc/dockerfile .
```
=> ERROR [build 5/5] RUN make build_linux
------
> [build 5/5] RUN make build_linux:
0.096 mkdir -p _output/linux
0.097 GOOS=linux go build -tags "sqlite_foreign_keys linux" -ldflags="-s -w -X 'main.Version=2.4' -X 'main.GitHash=57a78c6e'" -o _output/linux/narr ./cmd/narr
0.100 go: go.mod requires go >= 1.23.3 (running go 1.22.3; GOTOOLCHAIN=local)
0.101 make: *** [makefile:21: build_linux] Error 1
------
dockerfile:5
--------------------
3 | WORKDIR /src
4 | COPY . .
5 | >>> RUN make build_linux
6 |
7 | FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c make build_linux" did not complete successfully: exit code: 2
```
$ docker build -t narr.arm -f etc/dockerfile.arm .
```
=> ERROR [ 9/10] RUN env CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build
------
> [ 9/10] RUN env CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -tags "sqlite_foreign_keys linux" -ldflags="-s -w" -o /root/out/narr.arm64 ./cmd/narr:
0.110 rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
0.110 Trace/breakpoint trap
------
dockerfile.arm:26
--------------------
25 | # Build ARM64
26 | >>> RUN env \
27 | >>> CC=aarch64-linux-gnu-gcc \
28 | >>> CGO_ENABLED=1 \
29 | >>> GOOS=linux GOARCH=arm64 \
30 | >>> go build \
31 | >>> -tags "sqlite_foreign_keys linux" \
32 | >>> -ldflags="-s -w" \
33 | >>> -o /root/out/narr.arm64 ./cmd/narr
34 |
--------------------
ERROR: failed to solve: process "/bin/sh -c env CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -tags \"sqlite_foreign_keys linux\" -ldflags=\"-s -w\" -o /root/out/narr.arm64 ./cmd/narr" did not complete successfully: exit code: 133
```