Skip to content

Commit 832477b

Browse files
morrildllunny
authored andcommitted
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.
1 parent 490d377 commit 832477b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $(EXECUTABLE): $(SOURCES)
9393

9494
.PHONY: docker
9595
docker:
96-
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
96+
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
9797
docker build -t gitea/gitea:latest .
9898

9999
.PHONY: release

0 commit comments

Comments
 (0)