aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-08-08 12:17:27 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-08-08 12:22:55 -0400
commit999bd5075984426586cbef1e5ddd0cbef2b2b30e (patch)
treee041c3efc9293f6faf8c6ed2bed6cdbdb63a657e
parent9edde2ca71cf0d1a6eff052cbec42640f98119b0 (diff)
downloadstasis-999bd5075984426586cbef1e5ddd0cbef2b2b30e.tar.gz
Only add conda packages and wheels to the image
* docker images are saved to the packages directory and will be consumed by the image if present.
-rw-r--r--mission/generic/Dockerfile.in2
-rw-r--r--mission/hst/Dockerfile.in2
-rw-r--r--mission/jwst/Dockerfile.in2
-rw-r--r--mission/roman/Dockerfile.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/mission/generic/Dockerfile.in b/mission/generic/Dockerfile.in
index c3c826a..2b3827c 100644
--- a/mission/generic/Dockerfile.in
+++ b/mission/generic/Dockerfile.in
@@ -61,7 +61,7 @@ RUN curl -q -OSsL ${DIST_URL}/${DIST_INSTALLER} \
ENV PATH="${DIST_PATH}/bin:${PATH}"
# Get delivery snapshot
ADD ${SNAPSHOT_INPUT} ${HOME}/SNAPSHOT.yml
-ADD ${SNAPSHOT_PKGDIR} ${HOME}/packages
+ADD ${SNAPSHOT_PKGDIR}/conda ${SNAPSHOT_PKGDIR}/wheels ${HOME}/packages
RUN chown -R developer: ${HOME}
USER developer
RUN conda config --set auto_update_conda false \
diff --git a/mission/hst/Dockerfile.in b/mission/hst/Dockerfile.in
index c3c826a..2b3827c 100644
--- a/mission/hst/Dockerfile.in
+++ b/mission/hst/Dockerfile.in
@@ -61,7 +61,7 @@ RUN curl -q -OSsL ${DIST_URL}/${DIST_INSTALLER} \
ENV PATH="${DIST_PATH}/bin:${PATH}"
# Get delivery snapshot
ADD ${SNAPSHOT_INPUT} ${HOME}/SNAPSHOT.yml
-ADD ${SNAPSHOT_PKGDIR} ${HOME}/packages
+ADD ${SNAPSHOT_PKGDIR}/conda ${SNAPSHOT_PKGDIR}/wheels ${HOME}/packages
RUN chown -R developer: ${HOME}
USER developer
RUN conda config --set auto_update_conda false \
diff --git a/mission/jwst/Dockerfile.in b/mission/jwst/Dockerfile.in
index c3c826a..2b3827c 100644
--- a/mission/jwst/Dockerfile.in
+++ b/mission/jwst/Dockerfile.in
@@ -61,7 +61,7 @@ RUN curl -q -OSsL ${DIST_URL}/${DIST_INSTALLER} \
ENV PATH="${DIST_PATH}/bin:${PATH}"
# Get delivery snapshot
ADD ${SNAPSHOT_INPUT} ${HOME}/SNAPSHOT.yml
-ADD ${SNAPSHOT_PKGDIR} ${HOME}/packages
+ADD ${SNAPSHOT_PKGDIR}/conda ${SNAPSHOT_PKGDIR}/wheels ${HOME}/packages
RUN chown -R developer: ${HOME}
USER developer
RUN conda config --set auto_update_conda false \
diff --git a/mission/roman/Dockerfile.in b/mission/roman/Dockerfile.in
index c3c826a..2b3827c 100644
--- a/mission/roman/Dockerfile.in
+++ b/mission/roman/Dockerfile.in
@@ -61,7 +61,7 @@ RUN curl -q -OSsL ${DIST_URL}/${DIST_INSTALLER} \
ENV PATH="${DIST_PATH}/bin:${PATH}"
# Get delivery snapshot
ADD ${SNAPSHOT_INPUT} ${HOME}/SNAPSHOT.yml
-ADD ${SNAPSHOT_PKGDIR} ${HOME}/packages
+ADD ${SNAPSHOT_PKGDIR}/conda ${SNAPSHOT_PKGDIR}/wheels ${HOME}/packages
RUN chown -R developer: ${HOME}
USER developer
RUN conda config --set auto_update_conda false \