'docker' build target only works with TAGS="bindata" #382

Closed
opened 2025-11-02 03:20:56 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @morrildl on GitHub (Feb 22, 2017).

A simple make docker will result in a build that does not do the bindata asset embedding, so it crashes on startup looking for conf/locale/locale_en-US.ini.

If you do TAGS="bindata" make docker the resulting image works fine.

Perhaps the line -e TAGS="$(TAGS)" could be changed to -e TAGS="bindata $(TAGS)" to guarantee the resulting container image boots, although I have not tested that.

Originally created by @morrildl on GitHub (Feb 22, 2017). A simple `make docker` will result in a build that does not do the bindata asset embedding, so it crashes on startup looking for `conf/locale/locale_en-US.ini`. If you do `TAGS="bindata" make docker` the resulting image works fine. Perhaps the line `-e TAGS="$(TAGS)"` could be changed to `-e TAGS="bindata $(TAGS)"` to guarantee the resulting container image boots, although I have not tested that.
GiteaMirror added the type/bug label 2025-11-02 03:20:56 -06:00
Author
Owner

@bkcsoft commented on GitHub (Jun 15, 2017):

Closing as fixed by #1033

@bkcsoft commented on GitHub (Jun 15, 2017): Closing as fixed by #1033
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#382