File tree Expand file tree Collapse file tree
assets/training/general/environments
acpt-pytorch-2.2-cuda12.1/context
tensorflow-2.16-cuda12/context Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2004 -cu121-py310-torch22x :{{latest-image-tag:biweekly\.\d {6}\.\d {1}.*}}
1+ FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204 -cu121-py310-torch251 :{{latest-image-tag:biweekly\.\d {6}\.\d {1}.*}}
22
33# Install pip dependencies
44COPY requirements.txt .
55RUN pip install -r requirements.txt --no-cache-dir
66
77# Inference requirements
88COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20230419.v1 /artifacts /var/
9- RUN /var/requirements/install_system_requirements.sh && \
9+ RUN apt-get update && \
10+ apt-get install -y --no-install-recommends \
11+ libcurl4 \
12+ liblttng-ust1 \
13+ libunwind8 \
14+ libxml++2.6-2v5 \
15+ nginx-light \
16+ psmisc \
17+ rsyslog \
18+ runit \
19+ unzip && \
20+ apt-get clean && rm -rf /var/lib/apt/lists/* && \
1021 cp /var/configuration/rsyslog.conf /etc/rsyslog.conf && \
1122 cp /var/configuration/nginx.conf /etc/nginx/sites-available/app && \
1223 ln -sf /etc/nginx/sites-available/app /etc/nginx/sites-enabled/app && \
@@ -17,4 +28,4 @@ EXPOSE 5001 8883 8888
1728
1829# support Deepspeed launcher requirement of passwordless ssh login
1930RUN apt-get update
20- RUN apt-get install -y openssh-server openssh-client
31+ RUN apt-get install -y openssh-server openssh-client
Original file line number Diff line number Diff line change @@ -49,7 +49,12 @@ RUN apt-get update && \
4949 libctf-nobfd0 \
5050 binutils-multiarch \
5151 libk5crypto3 \
52- libcap2 && \
52+ libcap2 \
53+ # Perl vulnerability fixes
54+ perl-modules-5.34 \
55+ perl \
56+ perl-base \
57+ libperl5.34 && \
5358 apt-get clean -y && \
5459 rm -rf /var/lib/apt/lists/*
5560
You can’t perform that action at this time.
0 commit comments