DockerCLI/dockerfiles/Dockerfile.binary-native

9 lines
216 B
Docker

FROM golang:1.12.7-alpine
RUN apk add -U git bash coreutils gcc musl-dev
ENV CGO_ENABLED=0 \
DISABLE_WARN_OUTSIDE_CONTAINER=1
WORKDIR /go/src/github.com/docker/cli
CMD ./scripts/build/binary