# # Copyright (c) 2025 Baidu Technologies Co., Ltd. All Rights Reserved. # This file is a part of the vllm-kunlun project. # # This file is mainly Adapted from vllm-project/vllm/vllm/envs.py # Copyright 2023 The vLLM team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # FROM iregistry.baidu-int.com/xmlir/xmlir_ubuntu_2004_x86_64:v0.37_base SHELL ["bash", "-c"] ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y --no-install-recommends \ ca-certificates tzdata vim net-tools \ gcc g++ cmake libnuma-dev \ wget tmux curl \ software-properties-common && \ apt remove -y python3.8 python3.8-minimal python3.8-dev && \ apt purge -y python3.8 python3.8-minimal python3.8-dev && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* RUN sed -i '/# >>> conda initialize >>>/,/# <<< conda initialize <<