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
K
Kubeflow
kfserving-0.2.2
pytorch-0.2.2
Commits
20d6d0e7
Commit
20d6d0e7
authored
Feb 04, 2021
by
Daniel Etrata
Browse files
code review
parent
fa7166a8
Pipeline
#151525
passed with stages
in 60 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
Dockerfile
Dockerfile
+1
-4
No files found.
Dockerfile
View file @
20d6d0e7
...
...
@@ -28,7 +28,6 @@ RUN chmod +x ./scripts/rename_pkgs.sh && \
RUN
[
"/bin/sh"
,
"-c"
,
"/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/pip-*.whl"
]
RUN
[
"/bin/sh"
,
"-c"
,
"/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/setuptools-*.whl"
]
# RUN ["/bin/sh", "-c", "/opt/conda/envs/pytorch-py37/bin/python -m pip install --no-deps ./pip_pkgs/wheel-*.whl"]
# Temporarily remove crypto from list of packages
RUN
tar
-xzf
./pip_pkgs/cryptography-3.3.tar.gz
...
...
@@ -46,8 +45,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as final
ENV
PATH /opt/conda/envs/pytorch-py37/bin:$PATH
RUN
dnf
install
-y
procps
&&
\
dnf upgrade
-y
&&
\
RUN
dnf upgrade
-y
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf
...
...
@@ -64,5 +62,4 @@ RUN find / -path /proc -prune -o -perm /2000 -exec chmod g-s {} \;
RUN
groupadd
-r
kfserving-pytorch
&&
useradd
-r
-g
kfserving-pytorch kfserving-pytorch
USER
kfserving-pytorch
HEALTHCHECK
CMD ps a | grep python | grep -v grep
ENTRYPOINT
["python3", "-m", "pytorchserver"]
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