Browse Source

Update 'Dockerfile'

snppla 10 months ago
parent
commit
0d88857fdd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -13,7 +13,7 @@ RUN git clone --depth 1 https://github.com/gogs/gogs.git gogs
 
 WORKDIR /build/gogs/gogs
 
-RUN go build -o gogs -tags "sqlite" CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+RUN CGO_CFLAGS="-D_LARGEFILE64_SOURCE" go build -o gogs -tags "sqlite"
 
 RUN rm -rf .git vendor conf docker pkg