Closed tao12345666333 closed 4 years ago
I have no plan to keep this sdk file hosted there, it's just there for demonstration purpose.
Yep. We will upload it to s3.dockerproject . ๏ผJust because I didn't rebuild it :smile:
Successfully tagged docker-cli-cross:latest
docker run --rm -e VERSION=19.09.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM -v "/builds/taobeier/golang-cross/cli":/go/src/github.com/docker/cli -v "docker-cli-dev-cache:/root/.cache/go-build" docker-cli-cross make cross
./scripts/build/cross
Building binaries for all platforms
Generating windows resources
Building build/docker-windows-amd64
/go/src/github.com/docker/cli/scripts/gen/../winresources/common.rc:11: digit exceeds base
/go/src/github.com/docker/cli/scripts/gen/../winresources/common.rc:12: digit exceeds base
/go/src/github.com/docker/cli/scripts/gen/../winresources/common.rc:11: digit exceeds base
/go/src/github.com/docker/cli/scripts/gen/../winresources/common.rc:12: digit exceeds base
Building build/docker-darwin-amd64
Building statically linked build/docker-linux-amd64
Building statically linked build/docker-linux-arm
Building statically linked build/docker-linux-ppc64le
Building statically linked build/docker-linux-s390x
Using GitLab CI test the cli
's build job. https://gitlab.com/taobeier/golang-cross/-/jobs/309123114
IIUC from a legal PoV we are not allowed to host sdk (derived from xcode) on a public s3, which can be considered a form of "redistribution".
I have not studied this point. I noticed that the previous sdk was hosted on S3. I also saw a similar project https://github.com/phracker/MacOSX-SDKs but I am not familiar with it.
@thaJeztah PTAL. Thanks.
ping @thaJeztah PTAL. Thanks.
cc @kolyshkin
Still trying to get an answer on updating the s3 bucket; hold tight ๐ Probably we should update to Go 1.13.3 now as well
ping @andrewhsu PTAL
Yep. I should update to Go 1.13.3. I am also waiting for the update of S3 bucket. :smile:
Hey, What's the status of this PR? Awesome job btw!
wait for s3 bucket.
Could we please get go updated to 1.13.5 and see this merged? I can not use this package to cross compile my application as it relies on os.UserConfigDir()
that was added in version 1.13...
Could we please get go updated to 1.13.5 and see this merged?
Sorry, unfortunately, if we want to merge this PR, we need a bucket to hold the SDK.
As @thaJeztah commented before https://github.com/docker/golang-cross/pull/45#issuecomment-545827442
Still trying to get an answer on updating the s3 bucket; hold tight
Update for solve conflict file.
It is sad that this seems to take such a long time and that the code needs to workaround using functions introduced in 1.13.0. I would be great to get this finished ๐
Anyhow, while we already are waiting, could we please get the go version updated to 1.13.6 so we get all the latest fixes and security patches? ๐
@Jacalz The reason this PR has never been merged is because we don't have hostable S3 storage. https://github.com/docker/golang-cross/pull/45#issuecomment-545827442
I can update the Go version and it โs easy.
Note that there are other images similar to this one, for example https://github.com/elastic/golang-crossbuild.
Any update on this?
@thaJeztah https://github.com/phracker/MacOSX-SDKs/releases would this not provide a drop in replacement for S3 file hosting?
@robdefeo Thanks! But I have tried it before, it is incomplete and cannot be compiled for us.
@tao12345666333 what are the exact requirements needed? This will help the community figure know exactly what is needed then we will be more easily able to help. Thanks
@robdefeo ref: https://github.com/phracker/MacOSX-SDKs/issues/21
What exactly is the problem with the bucket for storing the SDK? Is it impossible to do or have nobody stepped up with a working hosting bucket?
No approval from legal to upload a new version of the SDK.
I had an alternative stashed in my local Git, that just updates the Go version, and adds some TODO comments. One restriction of that change would be that the image wouldn't set the correct "minimum version"; perhaps it doesn't cause issues, but added the comments for future follow up.
Let me open a PR for that (at least as a temporary solution)
GitHub is giving angry unicorns, but managed to push https://github.com/docker/golang-cross/pull/53
replcace #39