mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-04 21:17:47 +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
|
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…
Add table
Add a link
Reference in a new issue