From 090be58f50129d2e9b1c9b2f41608cdfb48cf74f Mon Sep 17 00:00:00 2001 From: Toby Date: Sat, 8 May 2021 21:25:27 -0700 Subject: [PATCH] Add build-base for CGO --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7e794f5885..0be5eeb291 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ COPY . /go/src/github.com/tobyxdd/hysteria WORKDIR /go/src/github.com/tobyxdd/hysteria/cmd RUN set -ex \ - && apk add git \ + && apk add git build-base \ && export VERSION=$(git describe --tags) \ && export COMMIT=$(git rev-parse HEAD) \ && export TIMESTAMP=$(date "+%F %T") \