@@ -71,27 +71,6 @@ WORKDIR /opt/rocm/share/amd_smi
7171
7272RUN python setup.py bdist_wheel --dist-dir=/dist/
7373
74- #################### libsodium Build IMAGE ####################
75- FROM rocm_base as libsodium-builder
76-
77- RUN microdnf install -y --nodocs gcc gzip tar \
78- && microdnf clean all
79-
80- WORKDIR /usr/src/libsodium
81-
82- ARG LIBSODIUM_VERSION
83- RUN curl -LO https://github.com/jedisct1/libsodium/releases/download/${LIBSODIUM_VERSION}-RELEASE/libsodium-${LIBSODIUM_VERSION}.tar.gz \
84- && tar -xzvf libsodium*.tar.gz \
85- && rm -f libsodium*.tar.gz \
86- && mv libsodium*/* ./
87-
88- RUN CFLAGS="-O3 -Wall -Werror=format-security -Wno-unused-function -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fcf-protection" \
89- ./configure \
90- --prefix="/usr/" \
91- --libdir=/usr/lib64 && \
92- make -j $(nproc) && \
93- make check
94-
9574##################################################################################################
9675
9776FROM rocm_base AS vllm-openai
@@ -107,10 +86,6 @@ ENV PATH=$VIRTUAL_ENV/bin:$PATH
10786RUN microdnf install -y --setopt=install_weak_deps=0 --nodocs gcc rsync && \
10887 microdnf clean all
10988
110- # Install libsodium for Tensorizer encryption
111- RUN --mount=type=bind,from=libsodium-builder,src=/usr/src/libsodium,target=/usr/src/libsodium \
112- make -C /usr/src/libsodium install
113-
11489RUN --mount=type=bind,from=build_amdsmi,src=/dist,target=/install/amdsmi/ \
11590 --mount=type=cache,target=/root/.cache/uv \
11691 --mount=type=bind,src=payload,target=/workspace/payload \
0 commit comments