Don't run make generate for gitea

Upstream stopped running make generate in order to fix their static file
builds [0]. Our static file builds have stopped working with our bump to
1.11.3. Apply the corresponding fix to our dockerfile.

Note that we also use clean-all instead of clean to be sure we clean all
the js and css files first.

[0] 48be1889cd (diff-3254677a7917c6c01f55212f86c57fbf)

Change-Id: I40f0449ae29e185ba7082f2f5a27dc96acf58e31
This commit is contained in:
Clark Boylan 2020-03-18 12:57:38 -07:00
parent e3f7c8cee8
commit 6c7f7de55f

View File

@ -43,7 +43,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
#Checkout version if set
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
&& make clean generate build
&& make clean-all build
###################################
# Basic system setup common to all containers in our pod