diff --git a/src/dotnet-core/Dockerfile b/src/dotnet-core/Dockerfile index eb7d4df..6642d8c 100644 --- a/src/dotnet-core/Dockerfile +++ b/src/dotnet-core/Dockerfile @@ -1,7 +1,7 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM ubuntu:bionic AS builder +FROM ubuntu:jammy AS builder RUN set -xe \ && apt-get update \ diff --git a/src/dotnet-framework/Dockerfile b/src/dotnet-framework/Dockerfile index 44dc097..b0ef1c8 100644 --- a/src/dotnet-framework/Dockerfile +++ b/src/dotnet-framework/Dockerfile @@ -1,7 +1,7 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM --platform=$BUILDPLATFORM ubuntu:bionic AS builder +FROM --platform=$BUILDPLATFORM ubuntu:jammy AS builder RUN set -xe \ && apt-get update \ diff --git a/src/java/Dockerfile b/src/java/Dockerfile index 73e408b..f5e3e8c 100644 --- a/src/java/Dockerfile +++ b/src/java/Dockerfile @@ -1,7 +1,7 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM ubuntu:bionic AS builder +FROM ubuntu:jammy AS builder RUN set -xe \ && apt-get update \ diff --git a/src/nodejs-protect/Dockerfile b/src/nodejs-protect/Dockerfile index f02738d..88371c0 100644 --- a/src/nodejs-protect/Dockerfile +++ b/src/nodejs-protect/Dockerfile @@ -1,9 +1,9 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM node:lts-stretch-slim AS builder +FROM node:lts-bookworm-slim AS builder -ARG VERSION=5.0.0-beta.2 +ARG VERSION=5.0.0 RUN set -xe \ && mkdir -p /contrast \ @@ -19,7 +19,7 @@ RUN set -xe \ COPY ./src/shared/entrypoint.sh /entrypoint.sh COPY --from=builder /contrast /contrast -ARG VERSION=5.0.0-beta.2 +ARG VERSION=5.0.0 ENV CONTRAST_MOUNT_PATH=/contrast-init \ CONTRAST_VERSION=${VERSION} \ CONTRAST_AGENT_TYPE=nodejs-protect diff --git a/src/nodejs/Dockerfile b/src/nodejs/Dockerfile index b97aae0..9000cfc 100644 --- a/src/nodejs/Dockerfile +++ b/src/nodejs/Dockerfile @@ -1,7 +1,7 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM node:lts-stretch-slim AS builder +FROM node:lts-bookworm-slim AS builder ARG VERSION=4.18.0 diff --git a/src/php/Dockerfile b/src/php/Dockerfile index e05af6f..3de8256 100644 --- a/src/php/Dockerfile +++ b/src/php/Dockerfile @@ -1,7 +1,7 @@ # Contrast Security, Inc licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. -FROM ubuntu:bionic AS builder +FROM ubuntu:jammy AS builder RUN set -xe \ && apt-get update \ @@ -11,7 +11,7 @@ ARG VERSION=1.2.0 RUN set -xe \ && curl https://pkg.contrastsecurity.com/api/gpg/key/public | apt-key add - \ - && echo "deb https://pkg.contrastsecurity.com/debian-public/ bionic contrast" > /etc/apt/sources.list.d/contrast.list \ + && echo "deb https://pkg.contrastsecurity.com/debian-public/ jammy contrast" > /etc/apt/sources.list.d/contrast.list \ && echo "deb https://pkg.contrastsecurity.com/debian-public/ all contrast" >> /etc/apt/sources.list.d/contrast.list \ && apt-get update \ && apt-get install -y contrast-php-agent=${VERSION} \