Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM golang:1.27-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY *.go ./
COPY VERSION ./
RUN CGO_ENABLED=0 go build -o /polydisplayd .

FROM alpine:3.24
Expand Down
3 changes: 3 additions & 0 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,9 @@ func TestLicenseHeaders(t *testing.T) {
if path == "" {
continue
}
if path == "VERSION" { // machine-readable metadata, not source text
continue
}
b, err := os.ReadFile(path)
if err != nil {
t.Errorf("%s: %v", path, err)
Expand Down
Loading