- ARG GO_VERSION=1.18
- FROM golang:${GO_VERSION}
- RUN apt-get update && apt-get install -y zip unzip
- WORKDIR /go/src/github.com/docker/cli
- COPY . .
- ENV GOOS darwin
- ENV GOARCH amd64
- RUN chmod +x ./scripts/build/osx.sh
- ENTRYPOINT [ "./scripts/build/osx.sh" ]
|