Skip to content
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
15 changes: 14 additions & 1 deletion .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,20 @@ jobs:
- name: Set current date as env variable
run: echo "NOW=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Audit disk usage and remove unneeded tooling
run: |
echo "Disk usage before cleanup:"
df -h
sudo rm -rf /usr/lib/jvm
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/.ghcup
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/chromium
echo "Disk usage after cleanup:"
df -h

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ RUN git clone https://github.com/LSSTDESC/imSim.git &&\

# 1) Install imSim Conda requirements
# 2) Install imSim pip requirements
# 3) Install rubin_sim
# 4) Install imSim
# 3) Install imSim
RUN source /opt/lsst/software/stack/loadLSST.bash &&\
setup lsst_distrib &&\
mamba install -y --file imSim/etc/docker_conda_requirements.txt &&\
python3 -m pip install batoid skyCatalogs==2.0.1 gitpython &&\
python3 -m pip install rubin_sim/ &&\
python3 -m pip install skyCatalogs==2.4.0 --no-deps &&\
python3 -m pip install imSim/

WORKDIR /opt/lsst/software/stack
Expand Down
2 changes: 0 additions & 2 deletions etc/docker_conda_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@

gitpython
dust_extinction
batoid
batoid-rubin
palpy
rubin-sim
Loading