Skip to content

Commit b25df62

Browse files
fix oss compliance
1 parent b8fda30 commit b25df62

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

vllm/x86_64/gpu/Dockerfile

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ COPY install_efa.sh install_efa.sh
2424
RUN chmod +x /usr/local/bin/deep_learning_container.py && \
2525
chmod +x /usr/local/bin/bash_telemetry.sh && \
2626
echo 'source /usr/local/bin/bash_telemetry.sh' >> /etc/bash.bashrc && \
27-
# OSS compliance and software update
28-
# apt-get update && \
29-
# apt-get upgrade -y && \
30-
apt-get install -y --allow-change-held-packages --no-install-recommends unzip && \
31-
apt-get clean && \
27+
# OSS compliance - install unzip only
28+
apt-get install -y unzip && \
3229
HOME_DIR=/root && \
3330
curl -o ${HOME_DIR}/oss_compliance.zip https://aws-dlinfra-utilities.s3.amazonaws.com/oss_compliance.zip && \
3431
unzip ${HOME_DIR}/oss_compliance.zip -d ${HOME_DIR}/ && \
@@ -37,13 +34,13 @@ RUN chmod +x /usr/local/bin/deep_learning_container.py && \
3734
chmod +x ${HOME_DIR}/oss_compliance/generate_oss_compliance.sh && \
3835
${HOME_DIR}/oss_compliance/generate_oss_compliance.sh ${HOME_DIR} ${PYTHON} && \
3936
# create symlink for python
40-
ln -s /usr/bin/python3 /usr/bin/python
37+
ln -s /usr/bin/python3 /usr/bin/python && \
4138
# clean up
42-
# rm -rf ${HOME_DIR}/oss_compliance* && \
43-
# rm -rf /tmp/tmp* && \
44-
# rm -rf /tmp/uv* && \
45-
# rm -rf /var/lib/apt/lists/* && \
46-
# rm -rf /root/.cache | true
39+
rm -rf ${HOME_DIR}/oss_compliance* && \
40+
rm -rf /tmp/tmp* && \
41+
rm -rf /tmp/uv* && \
42+
rm -rf /var/lib/apt/lists/* && \
43+
rm -rf /root/.cache | true
4744

4845

4946
RUN bash install_efa.sh ${EFA_VERSION} && \

0 commit comments

Comments
 (0)