# Shallow git fetch regression in discourse\_docker

**URL:** https://meta.discourse.org/t/shallow-git-fetch-regression-in-discourse-docker/172324
**Category:** Support
**Created:** [December 5, 2020, 11:24am UTC](https://meta.discourse.org/t/shallow-git-fetch-regression-in-discourse-docker/172324 "2020-12-05T11:24:46Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 31, 2020, 4:02pm UTC](https://meta.discourse.org/t/shallow-git-fetch-regression-in-discourse-docker/172324/15 "2020-12-31T16:02:50Z")

</div>

> [@leo.proctor](#):
>
> The rebuild won’t work. any help?

> [@Falco](#):
>
> Another work-around is adding a `base_image` key to the top level of the app.yml with the value of an older base image. Since we don’t even try to keep compatibility of the new images being able to run older Discourse versions this may be necessary if you are going back long enough.

> [@Bug With Rebuilding version: v2.4.0.beta1](https://meta.discourse.org/t/bug-with-rebuilding-version-v2-4-0-beta1/142332/2):
>
> Yeah doing historic installs is not going to be easy, recommend you choose an earlier base image. You can control that with the base\_image: .... element.

Try adding the mentioned key and using an older image from [discourse/base - Docker Image](https://hub.docker.com/r/discourse/base/tags)

---

_[View the full topic](https://meta.discourse.org/t/shallow-git-fetch-regression-in-discourse-docker/172324)._
