mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2025-04-17 12:41:51 +00:00
Disable CGO
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
b05e6819d5
commit
0b431477c8
1 changed files with 1 additions and 2 deletions
|
@ -3,11 +3,10 @@ FROM golang:alpine as builder
|
|||
ADD . /go/src/github.com/Luzifer/nginx-sso
|
||||
WORKDIR /go/src/github.com/Luzifer/nginx-sso
|
||||
|
||||
ENV CGO_ENABLED=1
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add --update \
|
||||
build-base \
|
||||
git \
|
||||
&& go install \
|
||||
-ldflags "-X main.version=$(git describe --tags || git rev-parse --short HEAD || echo dev)" \
|
||||
|
|
Loading…
Add table
Reference in a new issue