disable CGO
This commit is contained in:
1 parent
705ab9b8f8
commit
f84890003a
1 file changed
+1
-1
+1
-1
@@ -3,7 +3,7 @@ FROM golang:alpine AS builder
|
||||
WORKDIR /src
|
||||
COPY . /src
|
||||
|
||||
RUN go build -v -ldflags '-w -s -buildid=' -trimpath \
|
||||
RUN CGO_ENABLED=0 go build -v -ldflags '-w -s -buildid=' -trimpath \
|
||||
-o javtube-server cmd/server/main.go
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
Reference in new issue
Block a user