소스 검색

http2/h2demo: deploy with Go 1.13

Update the base image to Go 1.13. It is the latest Go release and
it has TLS 1.3 on by default.

Remove the explicit setting of GOPROXY to https://proxy.golang.org,
since that value is already the default in Go 1.13.

Change-Id: I0d9b684a7f53d27d21b0f92b300ec64d4d47e1fe
Reviewed-on: https://go-review.googlesource.com/c/net/+/196139
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Dmitri Shuralyov 6 년 전
부모
커밋
c00fd9afed
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      http2/h2demo/Dockerfile

+ 1 - 2
http2/h2demo/Dockerfile

@@ -2,11 +2,10 @@
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
 
-FROM golang:1.12 AS build
+FROM golang:1.13 AS build
 LABEL maintainer "golang-dev@googlegroups.com"
 
 ENV GO111MODULE=on
-ENV GOPROXY=https://proxy.golang.org
 
 RUN mkdir /gocache
 ENV GOCACHE /gocache