Skip to content

Commit

Permalink
Update Dockerfile to get all obs packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Mar 27, 2024
1 parent 4cf9b7c commit a721af2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.ingest
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
ARG RUBINENV_VERSION=7.0.1
FROM lsstsqre/newinstall:${RUBINENV_VERSION}
ARG OBS_LSST_VERSION
ENV OBS_LSST_VERSION=${OBS_LSST_VERSION:-w_2023_41}
ENV OBS_LSST_VERSION=${OBS_LSST_VERSION:-w_2024_12}
USER lsst
RUN source loadLSST.bash && mamba install redis-py rucio-clients
RUN source loadLSST.bash && eups distrib install -t "${OBS_LSST_VERSION}" obs_lsst
RUN source loadLSST.bash && eups distrib install -t "${OBS_LSST_VERSION}" lsst_obs
COPY src/ingest.py src/exposure_info.py src/utils.py src/rucio_interface.py ./ingest/
# Environment variables that must be set:
# REDIS_HOST REDIS_PASSWORD BUCKET BUTLER_REPO
# For Rucio (all must be set if RUCIO_RSE is set):
# RUCIO_RSE RUCIO_DTN RUCIO_SCOPE RUCIO_CONFIG
# Optional:
# WEBHOOK_URI
ENTRYPOINT [ "bash", "-c", "source loadLSST.bash; setup obs_lsst; python ingest/ingest.py" ]
ENTRYPOINT [ "bash", "-c", "source loadLSST.bash; setup lsst_obs; python ingest/ingest.py" ]

0 comments on commit a721af2

Please sign in to comment.