This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9280b4d2a9 docs: clarify docker-compose-image-tag instructions (#33045)
9280b4d2a9 is described below

commit 9280b4d2a92a5666d291be0227029f25f5df96ee
Author: Maxime Beauchemin <[email protected]>
AuthorDate: Wed Apr 9 08:59:07 2025 -0700

    docs: clarify docker-compose-image-tag instructions (#33045)
---
 docs/docs/installation/docker-compose.mdx | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/docs/installation/docker-compose.mdx 
b/docs/docs/installation/docker-compose.mdx
index 499ad41364..42d0de47b9 100644
--- a/docs/docs/installation/docker-compose.mdx
+++ b/docs/docs/installation/docker-compose.mdx
@@ -112,7 +112,15 @@ docker compose -f docker-compose-non-dev.yml up
 ### Option #3 - boot up an official release
 
 ```bash
+# Set the version you want to run
 export TAG=3.1.1
+# Fetch the tag you're about to check out (assuming you shallow-cloned the 
repo)
+git fetch --depth=1 origin tag $TAG
+# Could also fetch all tags too if you've got bandwidth to spare
+# git fetch --tags
+# Checkout the corresponding git ref
+git checkout $TAG
+# Fire up docker compose
 docker compose -f docker-compose-image-tag.yml up
 ```
 

Reply via email to