Skip to content

Commit

Permalink
add test data to container
Browse files Browse the repository at this point in the history
  • Loading branch information
ehneilsen committed Nov 22, 2023
1 parent f1e9252 commit 4048a33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ RUN micromamba install -y -n base -f /home/${MAMBA_USER}/schedview/container_env
micromamba clean --all --yes
ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN python -m pip install /home/$MAMBA_USER/schedview --no-deps
ARG TEST_DATA_DIR=/home/${MAMBA_USER}/schedview/test_data
ARG TEST_DATA_INDEX=https://s3df.slac.stanford.edu/data/rubin/sim-data/sched_pickles/test_snapshots.html
RUN mkdir -p ${TEST_DATA_DIR} && \
wget --no-parent --directory-prefix=${TEST_DATA_DIR} --no-directories --recursive ${TEST_DATA_INDEX}

# Container execution
ENV RUBIN_SIM_DATA_DIR=/home/${MAMBA_USER}/schedview/rubin_sim_data
Expand Down
1 change: 1 addition & 0 deletions container_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ dependencies:
- param
- git
- pip
- wget

0 comments on commit 4048a33

Please sign in to comment.