diff --git a/src/accounting/Dockerfile b/src/accounting/Dockerfile index 05b205fb35..714086f877 100644 --- a/src/accounting/Dockerfile +++ b/src/accounting/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:8.0 AS builder +FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:9.0 AS builder ARG TARGETARCH ARG BUILD_CONFIGURATION=Release WORKDIR /src @@ -21,7 +21,7 @@ RUN dotnet publish "./Accounting.csproj" -r linux-$TARGETARCH -c $BUILD_CONFIGUR # ----------------------------------------------------------------------------- -FROM mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:9.0 USER app WORKDIR /app COPY --from=publish /app/publish . diff --git a/src/cart/src/Dockerfile b/src/cart/src/Dockerfile index 9e4df98450..a5721ea3e0 100644 --- a/src/cart/src/Dockerfile +++ b/src/cart/src/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # https://mcr.microsoft.com/v2/dotnet/sdk/tags/list -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS builder +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS builder ARG TARGETARCH WORKDIR /usr/src/app/ @@ -30,7 +30,7 @@ RUN dotnet publish ./src/cart.csproj -r linux-musl-$TARGETARCH --no-restore -o / # ----------------------------------------------------------------------------- # https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list -FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine3.20 +FROM mcr.microsoft.com/dotnet/runtime-deps:9.0-alpine3.20 WORKDIR /usr/src/app/ COPY --from=builder /cart/ ./ diff --git a/src/checkoutservice/Dockerfile b/src/checkoutservice/Dockerfile index ca37f623b4..ee55ee3d7b 100644 --- a/src/checkoutservice/Dockerfile +++ b/src/checkoutservice/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM golang:1.22-alpine AS builder +FROM golang:1.23-alpine AS builder WORKDIR /usr/src/app/ diff --git a/src/checkoutservice/genproto/Dockerfile b/src/checkoutservice/genproto/Dockerfile index edc92ccee3..e960e08c80 100644 --- a/src/checkoutservice/genproto/Dockerfile +++ b/src/checkoutservice/genproto/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM golang:1.22-alpine +FROM golang:1.23-alpine WORKDIR /build diff --git a/src/currency/Dockerfile b/src/currency/Dockerfile index f092bee2a2..bfb582c0c3 100644 --- a/src/currency/Dockerfile +++ b/src/currency/Dockerfile @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine:3.18 AS builder +FROM alpine:3.21 AS builder RUN apk update && apk add git cmake make g++ grpc-dev protobuf-dev linux-headers @@ -38,7 +38,7 @@ RUN cd /currency \ && make -j$(nproc || sysctl -n hw.ncpu || echo 1) install -FROM alpine:3.18 AS release +FROM alpine:3.21 AS release RUN apk update && apk add grpc-dev protobuf-dev COPY --from=builder /usr/local /usr/local diff --git a/src/email/Dockerfile b/src/email/Dockerfile index 45da417d37..111c8e621f 100644 --- a/src/email/Dockerfile +++ b/src/email/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM ruby:3.2.2-slim AS base +FROM ruby:3.4.1-slim AS base FROM base AS builder diff --git a/src/flagd-ui/Dockerfile b/src/flagd-ui/Dockerfile index 6bc1b4c6d7..4090955f77 100644 --- a/src/flagd-ui/Dockerfile +++ b/src/flagd-ui/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM node:20 AS builder +FROM node:23 AS builder WORKDIR /app @@ -15,7 +15,7 @@ RUN npm run build # ----------------------------------------------------------------------------- -FROM node:20-alpine +FROM node:23-alpine WORKDIR /app diff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfile index ae27d932b9..fce7f54e37 100644 --- a/src/frontend/Dockerfile +++ b/src/frontend/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM node:20-alpine AS deps +FROM node:23-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app @@ -10,7 +10,7 @@ WORKDIR /app COPY ./src/frontend/package*.json ./ RUN npm ci -FROM node:20-alpine AS builder +FROM node:23-alpine AS builder RUN apk add --no-cache libc6-compat protobuf-dev protoc WORKDIR /app COPY --from=deps /app/node_modules ./node_modules @@ -20,7 +20,7 @@ COPY ./src/frontend . RUN npm run grpc:generate RUN npm run build -FROM node:20-alpine AS runner +FROM node:23-alpine AS runner WORKDIR /app RUN apk add --no-cache protobuf-dev protoc diff --git a/src/image-provider/Dockerfile b/src/image-provider/Dockerfile index 6d6cd15185..8bd384be76 100644 --- a/src/image-provider/Dockerfile +++ b/src/image-provider/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM nginx:1.27.0-otel +FROM nginx:1.27.3-otel RUN apt-get update ; apt-get install lsb-release --no-install-recommends --no-install-suggests -y diff --git a/src/kafka/Dockerfile b/src/kafka/Dockerfile index 42e4ffd139..5d6eb254b9 100644 --- a/src/kafka/Dockerfile +++ b/src/kafka/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM apache/kafka:3.7.0 +FROM apache/kafka:3.9.0 USER root ARG OTEL_JAVA_AGENT_VERSION diff --git a/src/load-generator/Dockerfile b/src/load-generator/Dockerfile index 5a7ff9fa70..6f57bce3db 100644 --- a/src/load-generator/Dockerfile +++ b/src/load-generator/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM python:3.12-slim-bookworm AS base +FROM python:3.13-slim-bookworm AS base FROM base AS builder RUN apt-get -qq update \ diff --git a/src/payment/Dockerfile b/src/payment/Dockerfile index e1f5e03278..8f59144a4b 100644 --- a/src/payment/Dockerfile +++ b/src/payment/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM node:22-alpine AS build +FROM node:23-alpine AS build WORKDIR /usr/src/app/ @@ -12,7 +12,7 @@ RUN apk add --no-cache python3 make g++ && npm ci --omit=dev # ----------------------------------------------------------------------------- -FROM node:22-alpine +FROM node:23-alpine USER node WORKDIR /usr/src/app/ diff --git a/src/productcatalogservice/Dockerfile b/src/productcatalogservice/Dockerfile index f954743401..680cf42244 100644 --- a/src/productcatalogservice/Dockerfile +++ b/src/productcatalogservice/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM golang:1.22-alpine AS builder +FROM golang:1.23-alpine AS builder WORKDIR /usr/src/app/ diff --git a/src/productcatalogservice/genproto/Dockerfile b/src/productcatalogservice/genproto/Dockerfile index d313bb0cc4..e3df42132c 100644 --- a/src/productcatalogservice/genproto/Dockerfile +++ b/src/productcatalogservice/genproto/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM golang:1.22-alpine +FROM golang:1.23-alpine WORKDIR /build diff --git a/src/quote/Dockerfile b/src/quote/Dockerfile index 5495451ff7..78ca58e51a 100644 --- a/src/quote/Dockerfile +++ b/src/quote/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM php:8.3-cli AS base +FROM php:8.4-cli AS base ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN chmod +x /usr/local/bin/install-php-extensions \ @@ -17,7 +17,7 @@ CMD ["php", "public/index.php"] USER www-data EXPOSE ${QUOTE_PORT} -FROM composer:2.7 AS vendor +FROM composer:2.8 AS vendor WORKDIR /tmp/ COPY ./src/quote/composer.json . diff --git a/src/react-native-app/android.Dockerfile b/src/react-native-app/android.Dockerfile index cd50ffe159..7bcba08772 100644 --- a/src/react-native-app/android.Dockerfile +++ b/src/react-native-app/android.Dockerfile @@ -6,7 +6,7 @@ # https://github.com/react-native-community/docker-android # Choosing a tag where the Android build tools match what we have in android/build.gradle to avoid the # container having to download them -FROM reactnativecommunity/react-native-android:v13.2.1 AS builder +FROM reactnativecommunity/react-native-android:v15.0 AS builder WORKDIR /reactnativesrc/ COPY . . diff --git a/src/recommendation/Dockerfile b/src/recommendation/Dockerfile index 8e1d8168f5..8426e98bce 100644 --- a/src/recommendation/Dockerfile +++ b/src/recommendation/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM python:3.12-slim-bookworm AS base +FROM python:3.13-slim-bookworm AS base # # Fetch requirements diff --git a/src/recommendation/genproto/Dockerfile b/src/recommendation/genproto/Dockerfile index ad9b646694..d1d02aa420 100644 --- a/src/recommendation/genproto/Dockerfile +++ b/src/recommendation/genproto/Dockerfile @@ -1,7 +1,7 @@ # Copyright The OpenTelemetry Authors # SPDX-License-Identifier: Apache-2.0 -FROM python:3.12-slim-bookworm +FROM python:3.13-slim-bookworm WORKDIR /build diff --git a/src/shipping/Dockerfile b/src/shipping/Dockerfile index 72927b241f..179e9025d4 100644 --- a/src/shipping/Dockerfile +++ b/src/shipping/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 -FROM --platform=${BUILDPLATFORM} rust:1.76 AS builder +FROM --platform=${BUILDPLATFORM} rust:1.83 AS builder ARG TARGETARCH ARG TARGETPLATFORM ARG BUILDPLATFORM