aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-06 21:47:30 +0200
committerBernhard Guillon <Bernhard.Guillon@begu.org>2026-07-06 21:47:30 +0200
commit5137f2cf25a71cfaf6d7794d86ea2ed52bb001d3 (patch)
tree11f43bb2caef501f039500c627c9946042aa27ed /Dockerfile
parentad7575e85ebf6332d324ca5997db18ea81065df4 (diff)
downloadsourcewatch-5137f2cf25a71cfaf6d7794d86ea2ed52bb001d3.tar.gz
sourcewatch-5137f2cf25a71cfaf6d7794d86ea2ed52bb001d3.zip
Docker test fixes: directory pattern matching, mtime-based sync, Go version
- Fixed directory pattern matching: go-gitignore doesn't match 'build/' against bare 'build', now checks with trailing slash appended - Added ModTime to FileMeta for reliable change detection (same-size file modifications now sync correctly) - Updated Dockerfile to golang:1.24-alpine (was 1.22) - Downgraded go.mod to Go 1.24 (system has custom 1.26.4 build) Docker tested with podman: - Initial sync correctly excludes ignored dirs/files - Nested .gitignore works (sub/ ignores *.tmp) - Watcher syncs new/modified/deleted files - Case-sensitive rename (Foo→foo) handled correctly - Same-size file modifications sync correctly
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index eb516c2..1258531 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.22-alpine AS builder
+FROM golang:1.24-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download