Skip to content

Commit

Permalink
Merge pull request #378 from LCOGT/fix/conda-env
Browse files Browse the repository at this point in the history
Fixing the docker build
  • Loading branch information
cmccully authored Oct 31, 2023
2 parents c0ee986 + de26c97 commit 7855698
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.13.1 (2023-10-21)
-------------------
- bugfix to the docker build

1.13.0 (2023-10-31)
-------------------
- Refreshed build enviornment
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WORKDIR /home/archive

COPY environment.yaml .

RUN . /opt/conda/etc/profile.d/conda.sh && conda env create -p /home/archive/envs/banzai -f environment.yaml --solver=libmamba
RUN . /opt/conda/etc/profile.d/conda.sh && conda config --set remote_read_timeout_secs 900 && conda env create -p /home/archive/envs/banzai -f environment.yaml --solver=libmamba

COPY --chown=10087:10000 . /lco/banzai

Expand Down
5 changes: 2 additions & 3 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This environment was produced with the following:
# conda create -n banzai python=3.10 'cython<3' 'numpy<1.24' bottleneck scipy astropy pytest mock requests ipython coverage pyyaml kombu sep
'elasticsearch<6.0.0,>=5.0.0' pytest-astropy mysql-connector-python photutils psycopg2-binary tenacity 'amqp<3' 'celery[redis]>=4.3.1,<5' scikit-image emcee
python-dateutil 'sqlalchemy>=1.3.0b1' psycopg2-binary apscheduler 'pytorch>=1.6.0' --channel conda-forge --channel astropy --channel pytorch --solver=libmamba
# conda create -n banzai python=3.10 'cython<3' 'numpy<1.24' bottleneck scipy astropy pytest mock requests ipython coverage pyyaml kombu sep 'elasticsearch<6.0.0,>=5.0.0' pytest-astropy mysql-connector-python photutils psycopg2-binary tenacity 'amqp<3' 'celery[redis]>=4.3.1,<5' scikit-image emcee
# python-dateutil 'sqlalchemy>=1.3.0b1' psycopg2-binary apscheduler 'pytorch>=1.6.0' --channel conda-forge --channel astropy --channel pytorch --solver=libmamba
channels:
- pytorch
- conda-forge
Expand Down

0 comments on commit 7855698

Please sign in to comment.