mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 05:19:56 +00:00
Add build-base for CGO
This commit is contained in:
parent
c4b05c5a95
commit
090be58f50
@ -14,7 +14,7 @@ COPY . /go/src/github.com/tobyxdd/hysteria
|
|||||||
WORKDIR /go/src/github.com/tobyxdd/hysteria/cmd
|
WORKDIR /go/src/github.com/tobyxdd/hysteria/cmd
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add git \
|
&& apk add git build-base \
|
||||||
&& export VERSION=$(git describe --tags) \
|
&& export VERSION=$(git describe --tags) \
|
||||||
&& export COMMIT=$(git rev-parse HEAD) \
|
&& export COMMIT=$(git rev-parse HEAD) \
|
||||||
&& export TIMESTAMP=$(date "+%F %T") \
|
&& export TIMESTAMP=$(date "+%F %T") \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user