Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version using w_2024_22 #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: jchiang87/roman-sims-env:w_2023_45
tags: jchiang87/roman-sims-env:w_2024_22
build-args: BUILD_DATE=${{ env.NOW }}
20 changes: 16 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Start from a release LSST stack image.
FROM lsstsqre/centos:7-stack-lsst_distrib-w_2023_45
FROM lsstsqre/centos:7-stack-lsst_distrib-w_2024_22

# Information about image.
ARG BUILD_DATE
LABEL maintainer="https://github.com/jchiang87/desc_roman_sims"
LABEL description="A Docker image for Roman-DESC simulations."
LABEL version="latest"
LABEL version="w_2024_22"
LABEL build_date=$BUILD_DATE

WORKDIR /home/lsst
Expand All @@ -24,12 +24,24 @@ RUN source /opt/lsst/software/stack/loadLSST.bash &&\
setup lsst_distrib &&\
mamba install -y --file desc_roman_sims/etc/conda_requirements.txt &&\
cd GalSim &&\
git checkout releases/2.5 &&\
git checkout v2.5.2 &&\
cd .. &&\
python3 -m pip install GalSim/ &&\
cd skyCatalogs &&\
# fix bug specifying version
sed -i.bak 's/\.skycatalogs/skycatalogs/' pyproject.toml &&\
cd .. &&\
python3 -m pip install skyCatalogs/ &&\
python3 -m pip install imSim/

# Install development tools
RUN source /opt/lsst/software/stack/loadLSST.bash &&\
setup lsst_apps &&\
pip install pycodestyle &&\
pip install pylint &&\
pip install black &&\
pip install ipython

# Install parsl, ndcctools, and their deps explicitly to avoid
# conflicts with lsst_distrib versions.
RUN source /opt/lsst/software/stack/loadLSST.bash &&\
Expand All @@ -42,7 +54,7 @@ RUN source /opt/lsst/software/stack/loadLSST.bash &&\
pip install globus-sdk &&\
pip install sqlalchemy_utils &&\
pip install flask_sqlalchemy &&\
conda install -c conda-forge ndcctools=7.6.1=py311h689c632_0 --no-deps
conda install -c conda-forge ndcctools=7.11.0=py311h689c632_0 --no-deps

WORKDIR /opt/lsst/software/stack

Expand Down
Loading