Browse Source

Added support for template and assets overriding

root 2 years ago
parent
commit
30caa09c0c
3 changed files with 3 additions and 1629 deletions
  1. 3 2
      Dockerfile
  2. 0 1408
      internal/assets/public/public_gen.go
  3. 0 219
      internal/assets/templates/templates_gen.go

+ 3 - 2
Dockerfile

@@ -6,8 +6,9 @@ RUN apk --no-cache --no-progress add --virtual \
   linux-pam-dev
 
 WORKDIR /gogs.io/gogs
-COPY . .
-RUN make build-no-gen TAGS="cert pam"
+COPY . .  
+RUN  go get -u github.com/kevinburke/go-bindata/...
+RUN make build TAGS="cert pam"
 
 FROM alpine:3.11
 ADD https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64 /usr/sbin/gosu

File diff suppressed because it is too large
+ 0 - 1408
internal/assets/public/public_gen.go


File diff suppressed because it is too large
+ 0 - 219
internal/assets/templates/templates_gen.go


Some files were not shown because too many files changed in this diff