Skip to content

Commit

Permalink
AllenInstitute#307 add openjp2 install to anaconda<> docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
NileGraddis committed Dec 6, 2018
1 parent bdc4b21 commit 6a8c947
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/anaconda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN /bin/bash -c "\
cd allensdk && \
pip install . && \
pip install -r test_requirements.txt"

RUN apt-get -yq install libopenjp2-7

ENV TEST_API_ENDPOINT http://api.brain-map.org
ENV TEST_OBSERVATORY_EXPERIMENT_PLOTS_DATA=skip
Expand Down
1 change: 1 addition & 0 deletions docker/anaconda3/shared/apt_get_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
apt-get update
apt-get -yq install pkg-config make automake
apt-get -yq install libopenjp2-7
4 changes: 3 additions & 1 deletion docker/anaconda3_neuron_1370/shared/apt_get_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ apt-get -yq install \
alien \
unzip \
vim \
libffi-dev
libffi-dev \
libopenjp2-7

wget http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
tar -xvzf cmake-3.4.1.tar.gz
cd cmake-3.4.1/
Expand Down
2 changes: 2 additions & 0 deletions docker/anaconda_neuron_1370/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ COPY requirements.txt test_requirements.txt ./
RUN pip install -r requirements.txt; \
pip install -r test_requirements.txt

RUN apt-get -yq install libopenjp2-7

ENV PYTHONPATH /usr/local/nrn/lib/python
ENV PATH /usr/local/nrn/x86_64/bin:$PATH
ENV TEST_API_ENDPOINT http://api.brain-map.org

0 comments on commit 6a8c947

Please sign in to comment.