mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
[Docker] Slim down autoscaler image (#8683)
* Modifed dockerfiles for base-deps and autoscaler * Reverted base-deps to use xenial instead of bionic, reverted addition of gnupg2 * Added --no-cache-dir to pip install Co-authored-by: jenkins-x-bot <jenkins-x@googlegroups.com>
This commit is contained in:
co-authored by
jenkins-x-bot
parent
8b924a4846
commit
21d5b49c56
@@ -22,14 +22,12 @@ RUN apt-get update \
|
||||
&& /opt/conda/bin/conda install -y \
|
||||
libgcc python=3.6.9 \
|
||||
&& /opt/conda/bin/conda clean -y --all \
|
||||
&& /opt/conda/bin/pip install \
|
||||
&& /opt/conda/bin/pip install --no-cache-dir \
|
||||
flatbuffers \
|
||||
cython==0.29.0 \
|
||||
numpy==1.15.4
|
||||
|
||||
|
||||
# To avoid the following error on Jenkins:
|
||||
# AttributeError: 'numpy.ufunc' object has no attribute '__module__'
|
||||
RUN /opt/conda/bin/pip uninstall -y dask
|
||||
numpy==1.15.4 \
|
||||
# To avoid the following error on Jenkins:
|
||||
# AttributeError: 'numpy.ufunc' object has no attribute '__module__'
|
||||
&& /opt/conda/bin/pip uninstall -y dask
|
||||
|
||||
ENV PATH "/opt/conda/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user