mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ COPY . /go/src/github.com/tobyxdd/hysteria
|
|||
WORKDIR /go/src/github.com/tobyxdd/hysteria/cmd
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add git \
|
||||
&& export VERSION=$(git describe --tags) \
|
||||
&& export COMMIT=$(git rev-parse HEAD) \
|
||||
&& export TIMESTAMP=$(date "+%F %T") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue