Skip to content

Commit

Permalink
putting back the apt package...
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 authored and gonuke committed Feb 15, 2019
1 parent 0bbfae9 commit e7e0b01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
6 changes: 1 addition & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,12 @@ commands:
flags:
type: string
default: ""
python:
type: string
default: "python2"
build:
type: string
default: "build"
steps:
- checkout
- run: << parameters.python >> setup.py install --user --clean << parameters.flags >>
- run: python setup.py install --user --clean << parameters.flags >>
- run: cd ../ && nuc_data_make ;
- save_container:
build: << parameters.build >>
Expand Down Expand Up @@ -97,7 +94,6 @@ jobs:
working_directory: ~/repo
steps:
- checkout_build:
python: "python3"
flags: ""
build: "python3"
py3_test:
Expand Down
22 changes: 9 additions & 13 deletions docker/ubuntu_18.04-dev.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ RUN if [ "${py_version%.?}" -eq 3 ] ; \
python${PY_SUFIX}-setuptools \
python${PY_SUFIX}-dev \
libpython${PY_SUFIX}-dev \
python${PY_SUFIX}-nose \
python${PY_SUFIX}-matplotlib \
python${PY_SUFIX}-tables \
python${PY_SUFIX}-scipy \
python${PY_SUFIX}-jinja2 \
gfortran \
git \
cmake \
Expand All @@ -42,28 +47,18 @@ RUN if [ "${py_version%.?}" -eq 3 ] ; \
pip install --force-reinstall \
sphinx \
cloud_sptheme \
tables \
matplotlib \
jinja2 \
prettytable \
sphinxcontrib_bibtex \
numpydoc \
nbconvert \
numpy \
scipy \
nose \
cython

# Script conditional setup: Default PyNE alone
ARG build_moab=NO
ARG enable_pymoab=NO
ARG build_dagmc=NO
RUN echo "Configuration: \n" \
"MOAB: $build_moab\n" \
"pyMOAB: $enable_pymoab\n" \
"DAGMC: $build_dagmc\n"


# make starting directory
ARG build_moab=NO
ARG enable_pymoab=NO
RUN mkdir -p $HOME/opt
RUN echo "export PATH=$HOME/.local/bin:\$PATH" >> ~/.bashrc

Expand Down Expand Up @@ -109,6 +104,7 @@ ENV LIBRARY_PATH $HOME/opt/moab/lib:$LIBRARY_PATH
ENV PYTHONPATH=$HOME/opt/moab/lib/python${py_version}/site-packages/

# build/install DAGMC
ARG build_dagmc=NO
ENV INSTALL_PATH=$HOME/opt/dagmc
RUN if [ "$build_dagmc" = "YES" ]; then \
cd /root \
Expand Down

0 comments on commit e7e0b01

Please sign in to comment.