Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ac56a3e43 |
+4
-4
@@ -17,8 +17,8 @@ COPY . .
|
|||||||
RUN golangci-lint run --config .golangci.yml ./...
|
RUN golangci-lint run --config .golangci.yml ./...
|
||||||
|
|
||||||
# Test phase. script/test builds it alone.
|
# Test phase. script/test builds it alone.
|
||||||
# golang:1.25.4-alpine, 2026-02-25
|
# golang:1.25.4-alpine3.22, 2026-02-25; the runtime stage uses Alpine 3.22 too
|
||||||
FROM golang:1.25.4-alpine@sha256:d3f0cf7723f3429e3f9ed846243970b20a2de7bae6a5b66fc5914e228d831bbb AS test
|
FROM golang:1.25.4-alpine3.22@sha256:d3f0cf7723f3429e3f9ed846243970b20a2de7bae6a5b66fc5914e228d831bbb AS test
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
@@ -40,8 +40,8 @@ RUN go test -count=1 -timeout 90s -race -cover ./... || \
|
|||||||
# Build stage. Nothing is wanted from the two phases above: these copies
|
# Build stage. Nothing is wanted from the two phases above: these copies
|
||||||
# make BuildKit build them first, so this stage runs only when lint and
|
# make BuildKit build them first, so this stage runs only when lint and
|
||||||
# test passed.
|
# test passed.
|
||||||
# golang:1.25.4-alpine, 2026-02-25
|
# golang:1.25.4-alpine3.22, 2026-02-25; the runtime stage uses Alpine 3.22 too
|
||||||
FROM golang:1.25.4-alpine@sha256:d3f0cf7723f3429e3f9ed846243970b20a2de7bae6a5b66fc5914e228d831bbb AS builder
|
FROM golang:1.25.4-alpine3.22@sha256:d3f0cf7723f3429e3f9ed846243970b20a2de7bae6a5b66fc5914e228d831bbb AS builder
|
||||||
|
|
||||||
COPY --from=lint /src/go.sum /dev/null
|
COPY --from=lint /src/go.sum /dev/null
|
||||||
COPY --from=test /src/go.sum /dev/null
|
COPY --from=test /src/go.sum /dev/null
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ P2: security: per-IP rate limiting on the image routes
|
|||||||
|
|
||||||
- 2026-10-08 pixad runs on the Alpine release it is built on (closes #229): the
|
- 2026-10-08 pixad runs on the Alpine release it is built on (closes #229): the
|
||||||
runtime stage of the `Dockerfile` uses `alpine:3.22`, the release of the
|
runtime stage of the `Dockerfile` uses `alpine:3.22`, the release of the
|
||||||
`golang:1.25.4-alpine` image that the test phase and the build stage use, so
|
`golang:1.25.4-alpine3.22` image that the test phase and the build stage use,
|
||||||
all three have libvips 8.16 instead of 8.15 in the runtime image.
|
so all three have libvips 8.16, where the runtime image had 8.15.
|
||||||
- 2026-10-08 requests no longer wait behind eviction queries that read a whole
|
- 2026-10-08 requests no longer wait behind eviction queries that read a whole
|
||||||
table (closes #227): the new `cache_usage` table holds the total cache usage,
|
table (closes #227): the new `cache_usage` table holds the total cache usage,
|
||||||
kept up to date by triggers on `source_content` and `variant_content` in the
|
kept up to date by triggers on `source_content` and `variant_content` in the
|
||||||
|
|||||||
Reference in New Issue
Block a user