diff --git a/Dockerfile b/Dockerfile index a87f0556..ddee7d86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # ============================================================================== # Base image with Rust toolchain (Alpine - more reliable than Debian) # ============================================================================== -FROM alpine:3.22 AS rust-base +FROM alpine:3.24 AS rust-base # Install system dependencies # - protoc/protobuf-dev: Required for prost-build (proto compilation in build.rs) @@ -359,7 +359,7 @@ CMD ["./confidence-cloudflare-resolver/deployer/script.sh"] # ============================================================================== # OpenFeature Provider (TypeScript) - Build and test # ============================================================================== -FROM node:22-alpine AS openfeature-provider-js-base +FROM node:26-alpine AS openfeature-provider-js-base # Install protoc for proto generation RUN apk add --no-cache protobuf-dev protoc make @@ -474,7 +474,7 @@ COPY --from=openfeature-provider-js.pack /app/package.tgz /package.tgz # ============================================================================== # OpenFeature Provider (Go) - Build and test # ============================================================================== -FROM golang:1.25-alpine AS openfeature-provider-go-base +FROM golang:1.27-alpine AS openfeature-provider-go-base # Install make (needed for Makefile targets) RUN apk add --no-cache make @@ -499,7 +499,7 @@ ENV IN_DOCKER_BUILD=1 # ============================================================================== # Validate WASM sync for Go Provider # ============================================================================== -FROM alpine:3.22 AS openfeature-provider-go.validate-wasm +FROM alpine:3.24 AS openfeature-provider-go.validate-wasm # Install diffutils for cmp command RUN apk add --no-cache diffutils @@ -535,7 +535,7 @@ RUN set -e; \ # ============================================================================== # Validate committed event engine WASM matches a fresh build (Go go:embed) # ============================================================================== -FROM alpine:3.22 AS openfeature-provider-go.validate-event-wasm +FROM alpine:3.24 AS openfeature-provider-go.validate-event-wasm RUN apk add --no-cache diffutils @@ -590,7 +590,7 @@ RUN make lint # OpenFeature Provider (Ruby) - Build and test # ============================================================================== # Ruby 3.4 is the floor for openfeature-sdk >= 0.6.0. -FROM ruby:3.4-alpine AS openfeature-provider-ruby-base +FROM ruby:4.0-alpine AS openfeature-provider-ruby-base # Install build dependencies RUN apk add --no-cache make git build-base openssl-dev @@ -653,7 +653,7 @@ RUN --mount=type=secret,id=rubygem_api_key \ # ============================================================================== # OpenFeature Provider (Python) - Build and test # ============================================================================== -FROM python:3.11-slim AS openfeature-provider-python-base +FROM python:3.14-slim AS openfeature-provider-python-base # Install protobuf and build dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ @@ -794,7 +794,7 @@ RUN --mount=type=secret,id=crates_io_token \ # ============================================================================== # OpenFeature Provider (Java) - Build and test # ============================================================================== -FROM eclipse-temurin:17-jdk AS openfeature-provider-java-base +FROM eclipse-temurin:25-jdk AS openfeature-provider-java-base # Install Maven and protobuf (Debian-based for glibc compatibility) RUN apt-get update && apt-get install -y \ diff --git a/mock-support-server/Dockerfile b/mock-support-server/Dockerfile index 4a8d4ae3..547f71a0 100644 --- a/mock-support-server/Dockerfile +++ b/mock-support-server/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25-alpine3.22 AS build +FROM golang:1.26-alpine3.22 AS build WORKDIR /src/mock-support-server # Copy module files and download dependencies (cached) @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=0 go build -o /out/mock-support-server . -FROM alpine:3.22 +FROM alpine:3.24 COPY --from=build /out/mock-support-server /mock-support-server COPY data/account_id /data/account_id COPY data/resolver_state_current.pb /data/resolver_state_current.pb diff --git a/openfeature-provider/go/bench/Dockerfile b/openfeature-provider/go/bench/Dockerfile index bd9c696b..92e01b8f 100644 --- a/openfeature-provider/go/bench/Dockerfile +++ b/openfeature-provider/go/bench/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25-alpine3.22 AS build +FROM golang:1.26-alpine3.22 AS build WORKDIR /src # Prepare module files in correct relative locations to satisfy the replace directive @@ -19,7 +19,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ CGO_ENABLED=0 \ go build -C ./openfeature-provider/go/bench -o /out/bench . -FROM alpine:3.22 +FROM alpine:3.24 RUN apk add --no-cache ca-certificates COPY --from=build /out/bench /bench ENTRYPOINT ["/bench"] diff --git a/openfeature-provider/js/bench/Dockerfile b/openfeature-provider/js/bench/Dockerfile index 011ae1f0..d106ab9e 100644 --- a/openfeature-provider/js/bench/Dockerfile +++ b/openfeature-provider/js/bench/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine3.22 +FROM node:26-alpine3.22 WORKDIR /app