mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 02:40:11 +08:00
Merge pull request #3705 from ipfs/fix/ci/no-commit-hash
ci: Fix lack of commit hash during the build
This commit is contained in:
commit
584c095647
@ -37,9 +37,10 @@ USER user
|
||||
RUN make -f mk/gx.mk gx-deps
|
||||
USER root
|
||||
|
||||
COPY . $SRC_PATH/
|
||||
RUN chown -R user $GOPATH
|
||||
COPY . $SRC_PATH
|
||||
RUN chown -R user:user $GOPATH
|
||||
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"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user