From 6dc17a0944cc8aba4494c5446f7ed81ff24dab70 Mon Sep 17 00:00:00 2001
From: nickb <nickb@ssec.wisc.edu>
Date: Tue, 13 Feb 2018 16:09:52 -0600
Subject: [PATCH] making sure conda's on $PATH and putting setuptools next to
 where it's used

---
 Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 5478d07..9dbd05b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -131,8 +131,11 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
     conda install -c conda-forge numpy scipy matplotlib basemap pyhdf netcdf4 && \
     rm -rf ${BUILD}
 
+ENV PATH ${OPT}/miniconda/bin:${PATH}
+
 ## add uwglance for verifying data, etc.
-RUN easy_install -f http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
+RUN conda install -c conda-forge setuptools && \
+    easy_install -f http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
 
 # throw in some shell niceties
 RUN echo 'alias ls="ls --color=auto"' >> ~/.bashrc && \
-- 
GitLab