| # Copyright 2017 The Go Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style |
| # license that can be found in the LICENSE file. |
| FROM golang:1.10 |
| LABEL maintainer "golang-dev@googlegroups.com" |
| |
| # BEGIN deps (run `make update-deps` to update) |
| |
| # Repo cloud.google.com/go at 1d0c2da (2018-01-30) |
| ENV REV=1d0c2da40456a9b47f5376165f275424acc15c09 |
| RUN go get -d cloud.google.com/go/compute/metadata `#and 6 other pkgs` &&\ |
| (cd /go/src/cloud.google.com/go && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo github.com/golang/protobuf at 9255415 (2018-01-25) |
| ENV REV=925541529c1fa6821df4e44ce2723319eb2be768 |
| RUN go get -d github.com/golang/protobuf/proto `#and 6 other pkgs` &&\ |
| (cd /go/src/github.com/golang/protobuf && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo github.com/google/go-github at 897969c (2018-01-30) |
| ENV REV=897969cdc831052c4694e205e24a033fe7248c2f |
| RUN go get -d github.com/google/go-github/github &&\ |
| (cd /go/src/github.com/google/go-github && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo github.com/google/go-querystring at 53e6ce1 (2017-01-11) |
| ENV REV=53e6ce116135b80d037921a7fdd5138cf32d7a8a |
| RUN go get -d github.com/google/go-querystring/query &&\ |
| (cd /go/src/github.com/google/go-querystring && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo github.com/googleapis/gax-go at 317e000 (2017-09-15) |
| ENV REV=317e0006254c44a0ac427cc52a0e083ff0b9622f |
| RUN go get -d github.com/googleapis/gax-go &&\ |
| (cd /go/src/github.com/googleapis/gax-go && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo github.com/gregjones/httpcache at 2bcd89a (2017-11-19) |
| ENV REV=2bcd89a1743fd4b373f7370ce8ddc14dfbd18229 |
| RUN go get -d github.com/gregjones/httpcache &&\ |
| (cd /go/src/github.com/gregjones/httpcache && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo go4.org at 034d17a (2017-05-25) |
| ENV REV=034d17a462f7b2dcd1a4a73553ec5357ff6e6c6e |
| RUN go get -d go4.org/types &&\ |
| (cd /go/src/go4.org && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/crypto at 1875d0a (2018-01-27) |
| ENV REV=1875d0a70c90e57f11972aefd42276df65e895b9 |
| RUN go get -d golang.org/x/crypto/acme `#and 2 other pkgs` &&\ |
| (cd /go/src/golang.org/x/crypto && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/net at 0ed95ab (2018-01-24) |
| ENV REV=0ed95abb35c445290478a5348a7b38bb154135fd |
| RUN go get -d golang.org/x/net/context `#and 8 other pkgs` &&\ |
| (cd /go/src/golang.org/x/net && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/oauth2 at 30785a2 (2018-01-04) |
| ENV REV=30785a2c434e431ef7c507b54617d6a951d5f2b4 |
| RUN go get -d golang.org/x/oauth2 `#and 5 other pkgs` &&\ |
| (cd /go/src/golang.org/x/oauth2 && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/sync at fd80eb9 (2017-11-01) |
| ENV REV=fd80eb99c8f653c847d294a001bdf2a3a6f768f5 |
| RUN go get -d golang.org/x/sync/errgroup &&\ |
| (cd /go/src/golang.org/x/sync && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/text at e19ae14 (2017-12-27) |
| ENV REV=e19ae1496984b1c655b8044a65c0300a3c878dd3 |
| RUN go get -d golang.org/x/text/secure/bidirule `#and 4 other pkgs` &&\ |
| (cd /go/src/golang.org/x/text && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo google.golang.org/api at 7d0e2d3 (2018-01-30) |
| ENV REV=7d0e2d350555821bef5a5b8aecf0d12cc1def633 |
| RUN go get -d google.golang.org/api/gensupport `#and 9 other pkgs` &&\ |
| (cd /go/src/google.golang.org/api && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo google.golang.org/genproto at 4eb30f4 (2018-01-25) |
| ENV REV=4eb30f4778eed4c258ba66527a0d4f9ec8a36c45 |
| RUN go get -d google.golang.org/genproto/googleapis/api/annotations `#and 3 other pkgs` &&\ |
| (cd /go/src/google.golang.org/genproto && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo google.golang.org/grpc at 0bd008f (2018-01-25) |
| ENV REV=0bd008f5fadb62d228f12b18d016709e8139a7af |
| RUN go get -d google.golang.org/grpc `#and 23 other pkgs` &&\ |
| (cd /go/src/google.golang.org/grpc && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo grpc.go4.org at 11d0a25 (2017-06-09) |
| ENV REV=11d0a25b491971beb5a4625ea7856a3c4afaafa5 |
| RUN go get -d grpc.go4.org `#and 11 other pkgs` &&\ |
| (cd /go/src/grpc.go4.org && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Repo golang.org/x/time at 26559e0 (2018-03-14) |
| ENV REV=26559e0f760e39c24d730d3224364aef164ee23f |
| RUN go get -d golang.org/x/time/rate &&\ |
| (cd /go/src/golang.org/x/time && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) |
| |
| # Optimization to speed up iterative development, not necessary for correctness: |
| RUN go install cloud.google.com/go/compute/metadata \ |
| cloud.google.com/go/iam \ |
| cloud.google.com/go/internal \ |
| cloud.google.com/go/internal/optional \ |
| cloud.google.com/go/internal/version \ |
| cloud.google.com/go/storage \ |
| github.com/golang/protobuf/proto \ |
| github.com/golang/protobuf/protoc-gen-go/descriptor \ |
| github.com/golang/protobuf/ptypes \ |
| github.com/golang/protobuf/ptypes/any \ |
| github.com/golang/protobuf/ptypes/duration \ |
| github.com/golang/protobuf/ptypes/timestamp \ |
| github.com/google/go-github/github \ |
| github.com/google/go-querystring/query \ |
| github.com/googleapis/gax-go \ |
| github.com/gregjones/httpcache \ |
| go4.org/types \ |
| golang.org/x/crypto/acme \ |
| golang.org/x/crypto/acme/autocert \ |
| golang.org/x/net/context \ |
| golang.org/x/net/context/ctxhttp \ |
| golang.org/x/net/http2 \ |
| golang.org/x/net/http2/hpack \ |
| golang.org/x/net/idna \ |
| golang.org/x/net/internal/timeseries \ |
| golang.org/x/net/lex/httplex \ |
| golang.org/x/net/trace \ |
| golang.org/x/oauth2 \ |
| golang.org/x/oauth2/google \ |
| golang.org/x/oauth2/internal \ |
| golang.org/x/oauth2/jws \ |
| golang.org/x/oauth2/jwt \ |
| golang.org/x/sync/errgroup \ |
| golang.org/x/text/secure/bidirule \ |
| golang.org/x/text/transform \ |
| golang.org/x/text/unicode/bidi \ |
| golang.org/x/text/unicode/norm \ |
| golang.org/x/time/rate \ |
| google.golang.org/api/gensupport \ |
| google.golang.org/api/googleapi \ |
| google.golang.org/api/googleapi/internal/uritemplates \ |
| google.golang.org/api/googleapi/transport \ |
| google.golang.org/api/internal \ |
| google.golang.org/api/iterator \ |
| google.golang.org/api/option \ |
| google.golang.org/api/storage/v1 \ |
| google.golang.org/api/transport/http \ |
| google.golang.org/genproto/googleapis/api/annotations \ |
| google.golang.org/genproto/googleapis/iam/v1 \ |
| google.golang.org/genproto/googleapis/rpc/status \ |
| google.golang.org/grpc \ |
| google.golang.org/grpc/balancer \ |
| google.golang.org/grpc/balancer/base \ |
| google.golang.org/grpc/balancer/roundrobin \ |
| google.golang.org/grpc/codes \ |
| google.golang.org/grpc/connectivity \ |
| google.golang.org/grpc/credentials \ |
| google.golang.org/grpc/encoding \ |
| google.golang.org/grpc/encoding/proto \ |
| google.golang.org/grpc/grpclb/grpc_lb_v1/messages \ |
| google.golang.org/grpc/grpclog \ |
| google.golang.org/grpc/internal \ |
| google.golang.org/grpc/keepalive \ |
| google.golang.org/grpc/metadata \ |
| google.golang.org/grpc/naming \ |
| google.golang.org/grpc/peer \ |
| google.golang.org/grpc/resolver \ |
| google.golang.org/grpc/resolver/dns \ |
| google.golang.org/grpc/resolver/passthrough \ |
| google.golang.org/grpc/stats \ |
| google.golang.org/grpc/status \ |
| google.golang.org/grpc/tap \ |
| google.golang.org/grpc/transport \ |
| grpc.go4.org \ |
| grpc.go4.org/codes \ |
| grpc.go4.org/credentials \ |
| grpc.go4.org/grpclog \ |
| grpc.go4.org/internal \ |
| grpc.go4.org/metadata \ |
| grpc.go4.org/naming \ |
| grpc.go4.org/peer \ |
| grpc.go4.org/stats \ |
| grpc.go4.org/tap \ |
| grpc.go4.org/transport |
| # END deps |
| |
| COPY . /go/src/golang.org/x/build/ |
| |
| RUN go install -ldflags "-linkmode=external -extldflags '-static -pthread'" golang.org/x/build/maintner/maintnerd |