From 33d2622dffcba0edcf395ea83ea3db7819cbc2ea Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 6 Mar 2024 14:31:31 +0800 Subject: [PATCH] developer: set the tag of the built image Otherwise it won't show in `docker image ls` which can be confusing. --- docs/developer/from-source.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/from-source.md b/docs/developer/from-source.md index 3b68c934..6f1f9bbd 100644 --- a/docs/developer/from-source.md +++ b/docs/developer/from-source.md @@ -128,7 +128,7 @@ To build Forgejo's Docker image, you need to have Docker and the Docker Buildx p You can build the Docker image with: ```bash -docker buildx build . +docker buildx build --output type=docker --tag forgejo:mybuild . ``` This will run the entire build process in a Docker container with the required dependencies.