mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
fix docker build miss gcc issue
This commit is contained in:
parent
6a9fa0140a
commit
826f6d96a6
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ FROM golang:1.12-alpine as builder
|
|||
COPY . /go/src/github.com/documize/community
|
||||
|
||||
RUN cd /go/src/github.com/documize/community && \
|
||||
env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -gcflags="all=-trimpath=$GOPATH" -o bin/documize-community-linux-amd64 ./edition/community.go
|
||||
env GOOS=linux GOARCH=amd64 GODEBUG=tls13=1 go build -o bin/documize-community-linux-amd64 ./edition/community.go
|
||||
|
||||
# build release image
|
||||
FROM alpine:3.10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue