Skip to content

Mm trans nltk #4360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ WORKDIR /

RUN apt-get update && apt-get upgrade -y && apt-get install wget nscd python3-idna git git-lfs libxml2 -y

# azcopy install starts
RUN echo "Downloading azcopy to file azcopy.tar ....";\
wget https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar --no-verbose;\
tar -xvf azcopy.tar;\
mkdir -p ./azcopy/bin/;\
cp ./azcopy_linux_amd64_*/azcopy ./bin/;\
rm azcopy.tar;\
rm -rf ./azcopy_linux_amd64_*;\
which azcopy | grep -o azcopy > /dev/null && echo "azcopy not installed" || echo "azcopy installed";
# Upgrade Go to 1.24.4 to fix CVE-2025-22874
RUN wget https://go.dev/dl/go1.24.4.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.24.4.linux-amd64.tar.gz && \
rm go1.24.4.linux-amd64.tar.gz

ENV PATH="/usr/local/go/bin:$PATH"

COPY requirements.txt .

# This line is added because azureml-automl-dnn-vision depends on python 3.9.
# Added ignore python requires to get this installed.
RUN pip install --ignore-requires-python azureml-automl-dnn-vision
# RUN pip install --ignore-requires-python azureml-automl-dnn-vision
RUN pip install azureml-automl-dnn-vision

RUN pip install -r requirements.txt --no-cache-dir

RUN pip install --upgrade nltk==3.9

# Adding this to exclude Python 3.13 packages from the setuptools library fix
RUN rm -rf /opt/conda/lib/python3.13 || true

# List pip packages
RUN pip list

## Delete
# Cleanup
RUN rm requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ scikit-learn==1.5.1
mlflow==3.1.0
mlflow-skinny==3.1.0
marshmallow==3.23.2
transformers==4.52.1
Loading