# Stackage planning to discontinue Docker Hub images

**URL:** <https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288>\
**Category:** Announcements\
**Created:** [January 27, 2025, 11:41am UTC](https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288 "2025-01-27T11:41:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juhp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/juhp/32/323_2.png) [@juhp](https://discourse.haskell.org/u/juhp)\
**Post date:** [January 27, 2025, 11:41am UTC](https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288/1 "2025-01-27T11:41:55Z")

</div>

For a good while we has been building Stackage build container images in CI hosted in `ghcr.io` (the GitHub Container Registry: see [Package stackage/build · GitHub](https://github.com/commercialhaskell/stackage/pkgs/container/stackage%2Fbuild)). However we are also still pushing build images based on LTS snapshots to Docker Hub ([https://hub.docker.com/r/fpco/stack-build/](https://hub.docker.com/r/fpco/stack-build/)). It is these latter images which we are considering to stop creating and shipping, since as far as the Stackage team is concerned they are deprecated and obsoleted by the newer `ghcr.io` images. (It is probably worth adding that Stackage has used github built container images to build Stackage Nightly and LTS snapshots since 2021.)

(Some related issues/queries: [GitHub · Where software is built](https://github.com/commercialhaskell/stackage/issues?q=is%3Aissue%20docker%20image%20))

While we could just turn off the Docker Hub image generation immediately (every now and then we get someone asking why they have stopped or rather broke), we thought it would be kinder to announce our intention here first and wait to hear if this (ie switching to the `ghcr.io` images) would cause any problems for those using the images. We will probably wait some weeks or even a couple of months before making the change, in the meantime if you think the images are valuable to you please try the `ghcr.io` images and if they work please stop using the Docker Hub images.

Most Stackage users should not really need either of these images at all, but they may be useful to those that want to replicate the Stackage build environment. Note also the images no longer include ghc, they are supposed to use the appropriate stack-installed ghc.

Hope this makes sense

---

<div class="post-metadata">

**Author:** ![chreekat](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/chreekat/32/2669_2.png) [@chreekat](https://discourse.haskell.org/u/chreekat)\
**Post date:** [January 27, 2025, 12:21pm UTC](https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288/2 "2025-01-27T12:21:56Z")

</div>

I’d just add that we have one issue specifically about deprecating the images published on DockerHub if people are interested: [Corralling the proliferation of container images · Issue #7397 · commercialhaskell/stackage · GitHub](https://github.com/commercialhaskell/stackage/issues/7397) . It’s basically the same info as what Jens has written here: the Docker images have been superceded in Stackage’s own practices, they probably don’t work, etc. But of course they’re probably still providing some value to somebody somewhere, hence this deprecation notice!

---

<div class="post-metadata">

**Author:** ![Vlix](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/vlix/32/1551_2.png) [@Vlix](https://discourse.haskell.org/u/Vlix)\
**Post date:** [January 27, 2025, 7:01pm UTC](https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288/3 "2025-01-27T19:01:07Z")

</div>

We used to use these at our work, but we’re moving over to [these alpine images](https://github.com/benz0li/ghc-musl) that @benz0li maintains. If we ever have issues, we’ll check out the `ghcr.io / ghrc.io` ones.

(Both spellings are written twice, which one is it? 😅 Probably `ghcr.io`, right?)

---

<div class="post-metadata">

**Author:** ![juhp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/juhp/32/323_2.png) [@juhp](https://discourse.haskell.org/u/juhp)\
**Post date:** [January 28, 2025, 5:49am UTC](https://discourse.haskell.org/t/stackage-planning-to-discontinue-docker-hub-images/11288/4 "2025-01-28T05:49:53Z")

</div>

> [@Vlix](#):
>
> Probably `ghcr.io`, right?

Fixed thank you, Vlix
