Skip to content

Commit

Permalink
Security patch 2025.02 for ai-studio-dev (#3868)
Browse files Browse the repository at this point in the history
* Security patch 2025.02

* Remove pip install from Docker file

* Templatize azure-ai-ml and azureml-mlflow
  • Loading branch information
YusakuNo1 authored Feb 25, 2025
1 parent 8d9a7c6 commit aef604e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 0 additions & 5 deletions assets/aistudio/environments/ai_studio_dev/context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ RUN apt update && apt upgrade -y && apt install -y fuse
COPY requirements.txt .
RUN pip install -r requirements.txt

# inference server dependencies, it has to be installed after the requirements.txt
RUN pip install azureml-inference-server-http
# Temporary fix version for security patch
RUN pip install -U setuptools>=70.0.0

# Adding this install under root's path for the custom AI Studio container solution
ENV PATH="/home/vscode/.dotnet/tools:${PATH}"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Install Python SDK
azure-ai-ml
openai>1.0
azure-ai-ml=={{latest-pypi-version}}
openai
# hardcoded the version of azureml-mlflow here for faster Docker image building speed
azureml-mlflow==1.57.0
azureml-mlflow=={{latest-pypi-version}}
# copilot dependencies
keyrings.alt
ipykernel
Expand All @@ -11,3 +11,6 @@ langchain-openai
semantic-kernel
pytest
keyring
# dev dependencies
setuptools>70.0.0
azureml-inference-server-http

0 comments on commit aef604e

Please sign in to comment.