diff --git a/.travis.yml b/.travis.yml index ef4153a75..8c0754d08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ services: language: go go: - - "1.12.x" + - "1.13.x" go_import_path: github.com/docker/distribution diff --git a/Dockerfile b/Dockerfile index 5f00081c4..5aeb33619 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM golang:1.13.4-alpine AS build +ARG GO_VERSION=1.13.7 + +FROM golang:${GO_VERSION}-alpine AS build ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution ENV BUILDTAGS include_oss include_gcs