Skip to content

Commit c129834

Browse files
committed
no-conda environment
1 parent 5837c5c commit c129834

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:16.04
22

33
# configure environment for install
44
RUN apt-get update
5-
RUN apt-get install -y git nano wget bzip2
5+
RUN apt-get install -y git
66

77
# install AutoQC and all deps
88
RUN git clone https://github.com/IQuOD/AutoQC

install.sh

+19-22
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
11
# install and configure environment for AutoQC
2-
# Validated on 64bit ubuntu, kernel 4.4.0-1041-aws
32
# from inside AutoQC, run `bash install.sh`
43

5-
# set up python environment
6-
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
7-
bash miniconda.sh -b -p $PWD/miniconda
8-
export PATH="$PWD/miniconda/bin:$PATH"
9-
echo export 'PATH="'$PWD'/miniconda/bin:$PATH"' >> $HOME/.bashrc
10-
rm miniconda.sh
11-
12-
# update all
13-
conda config --set always_yes yes --set changeps1 no
14-
conda update -q conda
4+
# install apt-get packages
155
sudo apt-get update -y
6+
sudo apt-get install -y nano bzip2 wget unzip \
7+
python2.7=2.7.12-1ubuntu0~16.04.3 \
8+
python-pip \
9+
libhdf5-serial-dev=1.8.16+docs-4ubuntu1 \
10+
libnetcdf-dev=1:4.4.0-2 \
11+
python-dev=2.7.12-1~16.04 \
12+
libgl1-mesa-glx=18.0.5-0ubuntu0~16.04.1 \
13+
python-qt4=4.11.4+dfsg-1build4 \
14+
python-tk=2.7.12-1~16.04
1615

17-
# install dependencies
18-
sudo apt-get -y install libhdf5-serial-dev libnetcdf-dev unzip python-dev libgl1-mesa-glx python-qt4
19-
conda install --yes python=2.7 pip nose \
20-
Shapely=1.6.2 \
21-
netCDF4=1.3.1 \
22-
matplotlib=2.1.1 \
23-
pyproj=1.9.5.1 \
24-
pandas=0.21.1 \
25-
scipy=0.19.0 \
26-
numpy=1.11.3 \
27-
mkl=2018.0.1
16+
# install python packages
17+
pip install Shapely==1.6.2 \
18+
netCDF4==1.3.1 \
19+
matplotlib==2.1.1 \
20+
pyproj==1.9.5.1 \
21+
pandas==0.21.1 \
22+
scipy==0.19.0 \
23+
numpy==1.11.3 \
24+
mkl==2018.0.3
2825
pip install seabird==0.8.0 \
2926
gsw==3.0.3 \
3027
scikit-fuzzy==0.3 \

0 commit comments

Comments
 (0)