Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
chore(deps): update Python version to 3.12 (#1747)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltkacsandi authored May 28, 2024
1 parent e7dbe00 commit d4aa875
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/sdk-python/example/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ FROM ubuntu:24.04 AS builder-image
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get install --no-install-recommends -y python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \
apt-get install --no-install-recommends -y python3.12 python3.12-dev python3.12-venv python3-pip python3-wheel build-essential && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Create and activate virtual environment
# Using final folder name to avoid path issues with packages
RUN python3.9 -m venv /venv
RUN python3.12 -m venv /venv
ENV PATH="/venv/bin:$PATH"

# Install SDK from folder
Expand All @@ -21,7 +21,7 @@ RUN pip3 install --no-cache-dir /pluginsdk
FROM ubuntu:24.04 AS runner-image

RUN apt-get update && \
apt-get install --no-install-recommends -y python3.9 python3-venv && \
apt-get install --no-install-recommends -y python3.12 python3-venv && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Copy installed venv packages
Expand Down

0 comments on commit d4aa875

Please sign in to comment.