mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-08-27 19:51:48 +00:00
chore(dockerfile): fix git cmd missing
fix git cmd missing Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
@@ -14,6 +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 \
|
||||||
&& 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") \
|
||||||
|
Reference in New Issue
Block a user