提交 584c0956 作者: Jeromy Johnson 提交者: GitHub

Merge pull request #3705 from ipfs/fix/ci/no-commit-hash

ci: Fix lack of commit hash during the build
...@@ -37,9 +37,10 @@ USER user ...@@ -37,9 +37,10 @@ USER user
RUN make -f mk/gx.mk gx-deps RUN make -f mk/gx.mk gx-deps
USER root USER root
COPY . $SRC_PATH/ COPY . $SRC_PATH
RUN chown -R user $GOPATH RUN chown -R user:user $GOPATH
USER user USER user
RUN make cmd/ipfs/ipfs #populate go cache # mkdir .git/objects is required for git to detect repo
RUN mkdir .git/objects && make cmd/ipfs/ipfs #populate go cache
CMD ["/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait"] CMD ["/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait"]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论