github.com/jgarto/itcv@v0.0.0-20180826224514-4eea09c1aa0d/_vendor/src/golang.org/x/tools/cmd/tip/Dockerfile (about) 1 FROM golang:1.9 2 3 RUN apt-get update && apt-get install --no-install-recommends -y -q build-essential git 4 5 # golang puts its go install here (weird but true) 6 ENV GOROOT_BOOTSTRAP /usr/local/go 7 8 # BEGIN deps (run `make update-deps` to update) 9 10 # Repo cloud.google.com/go at 1d0c2da (2018-01-30) 11 ENV REV=1d0c2da40456a9b47f5376165f275424acc15c09 12 RUN go get -d cloud.google.com/go/compute/metadata `#and 6 other pkgs` &&\ 13 (cd /go/src/cloud.google.com/go && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 14 15 # Repo github.com/golang/protobuf at 9255415 (2018-01-25) 16 ENV REV=925541529c1fa6821df4e44ce2723319eb2be768 17 RUN go get -d github.com/golang/protobuf/proto `#and 6 other pkgs` &&\ 18 (cd /go/src/github.com/golang/protobuf && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 19 20 # Repo github.com/googleapis/gax-go at 317e000 (2017-09-15) 21 ENV REV=317e0006254c44a0ac427cc52a0e083ff0b9622f 22 RUN go get -d github.com/googleapis/gax-go &&\ 23 (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) 24 25 # Repo golang.org/x/build at e879390 (2018-02-01) 26 ENV REV=e8793909ba350594eea4c7c6bdb0f0d9a0d0f77a 27 RUN go get -d golang.org/x/build/autocertcache &&\ 28 (cd /go/src/golang.org/x/build && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 29 30 # Repo golang.org/x/crypto at 1875d0a (2018-01-27) 31 ENV REV=1875d0a70c90e57f11972aefd42276df65e895b9 32 RUN go get -d golang.org/x/crypto/acme `#and 2 other pkgs` &&\ 33 (cd /go/src/golang.org/x/crypto && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 34 35 # Repo golang.org/x/net at 6d90978 (2018-02-01) 36 ENV REV=6d90978dc4889d44e8cfbd04c05d17b5417823c7 37 RUN go get -d golang.org/x/net/context `#and 8 other pkgs` &&\ 38 (cd /go/src/golang.org/x/net && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 39 40 # Repo golang.org/x/oauth2 at 30785a2 (2018-01-04) 41 ENV REV=30785a2c434e431ef7c507b54617d6a951d5f2b4 42 RUN go get -d golang.org/x/oauth2 `#and 5 other pkgs` &&\ 43 (cd /go/src/golang.org/x/oauth2 && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 44 45 # Repo golang.org/x/text at e19ae14 (2017-12-27) 46 ENV REV=e19ae1496984b1c655b8044a65c0300a3c878dd3 47 RUN go get -d golang.org/x/text/secure/bidirule `#and 4 other pkgs` &&\ 48 (cd /go/src/golang.org/x/text && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 49 50 # Repo google.golang.org/api at 7d0e2d3 (2018-01-30) 51 ENV REV=7d0e2d350555821bef5a5b8aecf0d12cc1def633 52 RUN go get -d google.golang.org/api/gensupport `#and 9 other pkgs` &&\ 53 (cd /go/src/google.golang.org/api && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 54 55 # Repo google.golang.org/genproto at 4eb30f4 (2018-01-25) 56 ENV REV=4eb30f4778eed4c258ba66527a0d4f9ec8a36c45 57 RUN go get -d google.golang.org/genproto/googleapis/api/annotations `#and 3 other pkgs` &&\ 58 (cd /go/src/google.golang.org/genproto && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 59 60 # Repo google.golang.org/grpc at 0bd008f (2018-01-25) 61 ENV REV=0bd008f5fadb62d228f12b18d016709e8139a7af 62 RUN go get -d google.golang.org/grpc `#and 23 other pkgs` &&\ 63 (cd /go/src/google.golang.org/grpc && (git cat-file -t $REV 2>/dev/null || git fetch -q origin $REV) && git reset --hard $REV) 64 65 # Optimization to speed up iterative development, not necessary for correctness: 66 RUN go install cloud.google.com/go/compute/metadata \ 67 cloud.google.com/go/iam \ 68 cloud.google.com/go/internal \ 69 cloud.google.com/go/internal/optional \ 70 cloud.google.com/go/internal/version \ 71 cloud.google.com/go/storage \ 72 github.com/golang/protobuf/proto \ 73 github.com/golang/protobuf/protoc-gen-go/descriptor \ 74 github.com/golang/protobuf/ptypes \ 75 github.com/golang/protobuf/ptypes/any \ 76 github.com/golang/protobuf/ptypes/duration \ 77 github.com/golang/protobuf/ptypes/timestamp \ 78 github.com/googleapis/gax-go \ 79 golang.org/x/build/autocertcache \ 80 golang.org/x/crypto/acme \ 81 golang.org/x/crypto/acme/autocert \ 82 golang.org/x/net/context \ 83 golang.org/x/net/context/ctxhttp \ 84 golang.org/x/net/http2 \ 85 golang.org/x/net/http2/hpack \ 86 golang.org/x/net/idna \ 87 golang.org/x/net/internal/timeseries \ 88 golang.org/x/net/lex/httplex \ 89 golang.org/x/net/trace \ 90 golang.org/x/oauth2 \ 91 golang.org/x/oauth2/google \ 92 golang.org/x/oauth2/internal \ 93 golang.org/x/oauth2/jws \ 94 golang.org/x/oauth2/jwt \ 95 golang.org/x/text/secure/bidirule \ 96 golang.org/x/text/transform \ 97 golang.org/x/text/unicode/bidi \ 98 golang.org/x/text/unicode/norm \ 99 google.golang.org/api/gensupport \ 100 google.golang.org/api/googleapi \ 101 google.golang.org/api/googleapi/internal/uritemplates \ 102 google.golang.org/api/googleapi/transport \ 103 google.golang.org/api/internal \ 104 google.golang.org/api/iterator \ 105 google.golang.org/api/option \ 106 google.golang.org/api/storage/v1 \ 107 google.golang.org/api/transport/http \ 108 google.golang.org/genproto/googleapis/api/annotations \ 109 google.golang.org/genproto/googleapis/iam/v1 \ 110 google.golang.org/genproto/googleapis/rpc/status \ 111 google.golang.org/grpc \ 112 google.golang.org/grpc/balancer \ 113 google.golang.org/grpc/balancer/base \ 114 google.golang.org/grpc/balancer/roundrobin \ 115 google.golang.org/grpc/codes \ 116 google.golang.org/grpc/connectivity \ 117 google.golang.org/grpc/credentials \ 118 google.golang.org/grpc/encoding \ 119 google.golang.org/grpc/encoding/proto \ 120 google.golang.org/grpc/grpclb/grpc_lb_v1/messages \ 121 google.golang.org/grpc/grpclog \ 122 google.golang.org/grpc/internal \ 123 google.golang.org/grpc/keepalive \ 124 google.golang.org/grpc/metadata \ 125 google.golang.org/grpc/naming \ 126 google.golang.org/grpc/peer \ 127 google.golang.org/grpc/resolver \ 128 google.golang.org/grpc/resolver/dns \ 129 google.golang.org/grpc/resolver/passthrough \ 130 google.golang.org/grpc/stats \ 131 google.golang.org/grpc/status \ 132 google.golang.org/grpc/tap \ 133 google.golang.org/grpc/transport 134 # END deps. 135 136 # golang sets GOPATH=/go 137 ADD . /go/src/tip 138 RUN go install --tags=autocert tip 139 ENTRYPOINT ["/go/bin/tip"] 140 141 # We listen on 8080 (for historical reasons). The service.yaml maps public port 80 to 8080. 142 # We also listen on 443 for LetsEncrypt TLS. 143 EXPOSE 8080 443