mirror of https://github.com/docker/cli.git
19 lines
473 B
Docker
19 lines
473 B
Docker
|
|
FROM golang:1.8.1
|
|
|
|
# allow replacing httpredir or deb mirror
|
|
ARG APT_MIRROR=deb.debian.org
|
|
RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
|
|
|
|
RUN apt-get update -qq && apt-get install -y -q \
|
|
libltdl-dev \
|
|
gcc-mingw-w64 \
|
|
parallel \
|
|
;
|
|
|
|
COPY dockerfiles/osx-cross.sh /tmp/
|
|
RUN /tmp/osx-cross.sh
|
|
ENV PATH /osxcross/target/bin:$PATH
|
|
|
|
WORKDIR /go/src/github.com/docker/cli
|