mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 21:39:56 +00:00
chore(dockerfile): fix git cmd missing
fix git cmd missing Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
parent
71f3583deb
commit
93a8bde9bc
@ -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") \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user