docker / docker/docker-credential-helpers
Cross compiling in docker container for OSX fails
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 195
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
Issue:
I am building a CLI using Go and using this package to store credentials for the users locally. I am trying to set up a build pipeline to automate building for Linux, Windows and MacOS. Linux and Windows builds run fine but the MacOS build gives the error:
# github.com/docker/docker-credential-helpers/osxkeychain
gcc: error: unrecognized command line option '-mmacosx-version-min=10.11'
Setup:
Using this image: golang:1.12.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the macOS build in the golang:1.12.2 container and inspect the osxkeychain build path associated with the reported compiler error. Done means the CLI builds for macOS in the container without the -mmacosx-version-min=10.11 error, while the existing Linux and Windows builds continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100