# Dockerfiles for JEDI containers published on Dockerhub

**URL:** <https://forums.jcsda.org/t/dockerfiles-for-jedi-containers-published-on-dockerhub/543>\
**Category:** JEDI\
**Created:** [November 1, 2023, 10:26pm UTC](https://forums.jcsda.org/t/dockerfiles-for-jedi-containers-published-on-dockerhub/543 "2023-11-01T22:26:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwharrop](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@cwharrop](https://forums.jcsda.org/u/cwharrop)\
**Post date:** [November 1, 2023, 10:26pm UTC](https://forums.jcsda.org/t/dockerfiles-for-jedi-containers-published-on-dockerhub/543/1 "2023-11-01T22:26:03Z")

</div>

Hello,

I am building containers that require the software stack necessary to support the building and running of JEDI applications in addition to some other stuff for building other capabilities. I’d like to use a multi-stage build of the container to copy the required bits and pieces from `jcsda/docker-gnu-openmpi-dev:latest`, for example. Due to conflicts between conda-based software installs that I need for my project and the Spack environment used by JCSDA’s containers on Docker hub, this is proving to be challenging. It would be a lot easier to see what is going on if I knew how JCSDA is creating the containers it is publishing on Docker Hub. The `/root/entrypoint.sh` script and the hard-coding of the Spack environment it sources, make it difficult to use JCSDA’s container as a base layer to mix in additional software on top of it.

Can anyone provide a pointer to the Dockerfile used to create those containers, or some other recipe so that I can better see what is going on? It would be very helpful to know exactly how those containers are being created.

---

<div class="post-metadata">

**Author:** ![climbfuji](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/climbfuji/32/154_2.png) [@climbfuji](https://forums.jcsda.org/u/climbfuji)\
**Post date:** [November 1, 2023, 10:59pm UTC](https://forums.jcsda.org/t/dockerfiles-for-jedi-containers-published-on-dockerhub/543/2 "2023-11-01T22:59:17Z")

</div>

Hi Chris, this should get you started: [7. Creating Containers — spack-stack 1.5.0 documentation](https://spack-stack.readthedocs.io/en/latest/BuildingContainers.html)

---

<div class="post-metadata">

**Author:** ![cwharrop](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@cwharrop](https://forums.jcsda.org/u/cwharrop)\
**Post date:** [November 2, 2023, 1:41am UTC](https://forums.jcsda.org/t/dockerfiles-for-jedi-containers-published-on-dockerhub/543/3 "2023-11-02T01:41:53Z")

</div>

Thanks Dom. Somehow I missed that in the docs. Part of the issue is the splitting of documentation between JEDI and Spack-stack. Some of it is in one place, and some of it is in the other. Thank you for this pointer. Very helpful indeed!
