Tencent / caelus

Set of Kubernetes solutions for reusing idle resources of nodes by running extra batch jobs
Other
344 stars 83 forks source link

Add support for building caelus in a docker container #1

Closed hex108 closed 3 years ago

hex108 commented 3 years ago

Add support for building caelus in a docker container, then we could build it on anywhere :)

/help

ChaosJu commented 3 years ago

Add support for building caelus in a docker container, then we could build it on anywhere :)

/help

lgtm

ChaosJu commented 3 years ago

[root@VM-226-219-centos /data/caelus]# make build ./hack/format.sh ./hack/build.sh

github.com/tencent/caelus/cmd/caelus

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/go-link-294188296/000010.o: unrecognized relocation (0x2a) in section `.text' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status

make: *** [build] Error 2

ChaosJu commented 3 years ago

[root@VM-226-219-centos /data/caelus]# make build ./hack/format.sh ./hack/build.sh

github.com/tencent/caelus/cmd/caelus

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: /tmp/go-link-294188296/000010.o: unrecognized relocation (0x2a) in section `.text' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status

make: *** [build] Error 2

[root@VM-226-219-centos /data/caelus]# ld -v GNU ld (GNU Binutils) 2.26.1

fixed by update GNU ld to 2.26.1

ddongchen commented 3 years ago

building caelus in docker image is in processing

ddongchen commented 3 years ago

building caelus in docker image has been supported, @hex108

hex108 commented 3 years ago

Thanks!