mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 13:53:57 +01:00
Tweak docker target to work by default. (#1033)
Fix for #1013: adds "bindata" to tags by default, as without this the resulting docker image won't start, as it doesn't contain locale files. Verified to work even if you specify TAGS="bindata" such that it appears twice.
This commit is contained in:
parent
490d3771f7
commit
832477b1bc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -93,7 +93,7 @@ $(EXECUTABLE): $(SOURCES)
|
|||
|
||||
.PHONY: docker
|
||||
docker:
|
||||
docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="$(TAGS)" webhippie/golang:edge make clean generate build
|
||||
docker run -ti --rm -v $(CURDIR):/srv/app/src/code.gitea.io/gitea -w /srv/app/src/code.gitea.io/gitea -e TAGS="bindata $(TAGS)" webhippie/golang:edge make clean generate build
|
||||
docker build -t gitea/gitea:latest .
|
||||
|
||||
.PHONY: release
|
||||
|
|
Loading…
Reference in a new issue