Skip to content
Merged
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
5 changes: 4 additions & 1 deletion Dockerfile.sdk
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,14 @@ RUN --mount=type=secret,id=apt_sources,target=/etc/apt/sources.list.d/nvidia-art
WORKDIR /workspace
COPY TRITON_VERSION .
COPY NVIDIA_Deep_Learning_Container_License.pdf .
COPY THIRD-PARTY-NOTICES.txt .
COPY LICENSE .
COPY --from=sdk_build /workspace/client/ client/
COPY --from=sdk_build /workspace/install/ install/
WORKDIR /workspace/install
RUN export VERSION=`cat /workspace/TRITON_VERSION` && \
tar zcf /workspace/v"$VERSION".clients.tar.gz ./*
tar zcf /workspace/v"$VERSION".clients.tar.gz ./* ../THIRD-PARTY-NOTICES.txt ../LICENSE && \
tar tzf /workspace/v"$VERSION".clients.tar.gz | grep -q 'THIRD-PARTY-NOTICES.txt$'

WORKDIR /workspace

Expand Down
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,7 @@ def core_build(
)

cmake_script.cp(os.path.join(repo_dir, "LICENSE"), install_dir)
cmake_script.cp(os.path.join(repo_dir, "THIRD-PARTY-NOTICES.txt"), install_dir)
cmake_script.cp(os.path.join(repo_dir, "TRITON_VERSION"), install_dir)

# If requested, package the source code for all OSS used to build.
Expand Down
1 change: 1 addition & 0 deletions compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def start_dockerfile(ddir, images, argmap, dockerfile_name, backends):
df += """
WORKDIR /opt/tritonserver
COPY --from=full /opt/tritonserver/LICENSE .
COPY --from=full /opt/tritonserver/THIRD-PARTY-NOTICES.txt .
Comment thread
mc-nv marked this conversation as resolved.
Resolved
COPY --from=full /opt/tritonserver/TRITON_VERSION .
COPY --from=full /opt/tritonserver/NVIDIA_Deep_Learning_Container_License.pdf .
COPY --from=full /opt/tritonserver/bin bin/
Expand Down
Loading