From 4735379eb41b82795a8816d2e6d73b8cd3d5a6b0 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Mon, 13 Jan 2025 15:45:05 +0100 Subject: [PATCH] Switch base image to use Python 3.12 for Dockerfile.ci as well, add note about it to Dockerfile --- Dockerfile | 2 +- Dockerfile.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44259d2d42..136634d380 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ADD package.json . RUN yarn webui:install --production --network-timeout 60000 RUN yarn webui:build -# Stage 2: Build Locust package +# Stage 2: Build Locust package (make sure any changes here are also reflected in Dockerfile.ci) FROM python:3.12-slim AS base FROM base AS builder diff --git a/Dockerfile.ci b/Dockerfile.ci index 271aa497bc..fb709a986e 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,7 +1,7 @@ # This is the image pushed to Dockerhub, containing the built and tested Locust package # Stage 1: Install Locust package -FROM python:3.11-slim AS base +FROM python:3.12-slim AS base FROM base AS builder RUN apt-get update && apt-get install -y git