UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
triton-inference-server
server
Commits
43721006
Commit
43721006
authored
Mar 12, 2021
by
Andrew Simonetta
Browse files
Removed move command ie smaller image size
parent
2170efd2
Pipeline
#189445
canceled with stages
in 18 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
Dockerfile
Dockerfile
+13
-11
No files found.
Dockerfile
View file @
43721006
...
...
@@ -10,9 +10,7 @@ RUN useradd -u 1818 triton
ENV
CUDA_VERSION 11.2.1
RUN
dnf upgrade
RUN
dnf
-y
install
pkg-config libgomp libpng python38
RUN
dnf clean all
RUN
dnf upgrade
&&
dnf
-y
install
pkg-config libgomp libpng python38
&&
dnf clean all
# nvidia-docker 1.0
RUN
echo
"/usr/local/nvidia/lib"
>>
/etc/ld.so.conf.d/nvidia.conf
&&
\
...
...
@@ -49,10 +47,7 @@ ARG TARBALLN4=nvidia4.tar.gz
COPY
["${TARBALL1}", "/"]
COPY
["${TARBALLN1}", "${TARBALLN2}", "${TARBALLN3}", "${TARBALLN4}", \
"${TARBALL6}", "${TARBALL7}", "${TARBALL8}", "${TARBALL9}", \
"${TARBALL10}", "${TARBALL11}", "${TARBALL12}", "${TARBALL13}", \
"${TARBALL2}","/opt/"]
COPY
["${TARBALLN1}", "${TARBALLN2}", "${TARBALLN3}", "${TARBALLN4}", "${TARBALL13}", "${TARBALL2}","/opt/"]
WORKDIR
/
RUN
tar
-xvf
./
${
TARBALL1
}
&&
rm
-fv
./
${
TARBALL1
}
...
...
@@ -65,6 +60,13 @@ RUN tar -xvf ./${TARBALLN2} && rm -fv ./${TARBALLN2}
RUN
tar
-xvf
./
${
TARBALLN3
}
&&
rm
-fv
./
${
TARBALLN3
}
RUN
tar
-xvf
./
${
TARBALLN4
}
&&
rm
-fv
./
${
TARBALLN4
}
RUN
tar
-zxf
./
${
TARBALL2
}
&&
rm
-fv
./
${
TARBALL2
}
RUN
tar
-xvf
./
${
TARBALL13
}
&&
rm
-fv
./
${
TARBALL13
}
COPY
["${TARBALL6}", "${TARBALL7}", "${TARBALL8}", "${TARBALL9}", \
"${TARBALL10}", "${TARBALL11}", "${TARBALL12}", "/tritonserver/backends/tensorflow1/"]
WORKDIR
/tritonserver/backends/tensorflow1
RUN
tar
-zxf
./
${
TARBALL6
}
&&
rm
-fv
./
${
TARBALL6
}
RUN
tar
-zxf
./
${
TARBALL7
}
&&
rm
-fv
./
${
TARBALL7
}
RUN
tar
-zxf
./
${
TARBALL8
}
&&
rm
-fv
./
${
TARBALL8
}
...
...
@@ -72,12 +74,12 @@ RUN tar -zxf ./${TARBALL9} && rm -fv ./${TARBALL9}
RUN
tar
-zxf
./
${
TARBALL10
}
&&
rm
-fv
./
${
TARBALL10
}
RUN
tar
-zxf
./
${
TARBALL11
}
&&
rm
-fv
./
${
TARBALL11
}
RUN
tar
-zxf
./
${
TARBALL12
}
&&
rm
-fv
./
${
TARBALL12
}
RUN
tar
-xvf
./
${
TARBALL13
}
&&
rm
-fv
./
${
TARBALL13
}
#Move the tf backend parts to their spot
RUN
mv
libtensorflow_cc.so.1 libtensorflow_cc.so libtensorflow_framework.so.1
\
libtensorflow_framework.so libtensorflow_triton.so.1 libtensorflow_triton.so
\
libtriton_tensorflow1.so LICENSE.tensorflow tritonserver/backends/tensorflow1/
#
RUN mv libtensorflow_cc.so.1 libtensorflow_cc.so libtensorflow_framework.so.1 \
#
libtensorflow_framework.so libtensorflow_triton.so.1 libtensorflow_triton.so \
#
libtriton_tensorflow1.so LICENSE.tensorflow tritonserver/backends/tensorflow1/
WORKDIR
/opt/baserpms
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment