Skip to content

Commit 2754270

Browse files
authored
Merge pull request #563 from thaJeztah/bump_go_1.16.6
[master] bump go 1.16.6, and remove Go version override from static builds
2 parents 093961d + 9308b2f commit 2754270

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BUILDTIME=$(shell date -u -d "@$${SOURCE_DATE_EPOCH:-$$(date +%s)}" --rfc-3339 n
1616
CHOWN:=docker run --rm -v $(CURDIR):/v -w /v alpine chown
1717
DEFAULT_PRODUCT_LICENSE:=Community Engine
1818
DOCKER_GITCOMMIT:=abcdefg
19-
GO_VERSION:=1.16.5
19+
GO_VERSION:=1.16.6
2020
PLATFORM=Docker Engine - Community
2121
SHELL:=/bin/bash
2222
VERSION?=0.0.1-dev

static/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ENGINE_DIR=$(realpath $(CURDIR)/../src/github.com/docker/docker)
55
GEN_STATIC_VER=$(shell ./gen-static-ver $(CLI_DIR) $(VERSION))
66
HASH_CMD=docker run -v $(CURDIR):/sum -w /sum debian:jessie bash hash_files
77
DIR_TO_HASH:=build/linux
8-
DOCKER_CLI_PLUGIN_GOLANG_IMG=golang:1.16.3
8+
DOCKER_CLI_GOLANG_IMG=golang:$(GO_VERSION)
99

1010
.PHONY: help
1111
help: ## show make targets
@@ -103,7 +103,7 @@ cross-mac-plugins: cross-mac-plugins-amd64 cross-mac-plugins-arm64
103103
cross-mac-plugins-%: CLI_BUILD_DIR := mac
104104
cross-mac-plugins-%:
105105
mkdir -p build/$(CLI_BUILD_DIR)/$*/docker
106-
GOOS=darwin GOARCH=$* docker run $(BUILD_PLUGIN_RUN_VARS) $(DOCKER_CLI_PLUGIN_GOLANG_IMG) /build
106+
GOOS=darwin GOARCH=$* docker run $(BUILD_PLUGIN_RUN_VARS) $(DOCKER_CLI_GOLANG_IMG) /build
107107
$(CHOWN) -R $(shell id -u):$(shell id -g) build/$(CLI_BUILD_DIR)/$*
108108

109109
.PHONY: cross-win-plugins
@@ -113,6 +113,6 @@ cross-win-plugins: cross-win-plugins-amd64
113113
cross-win-plugins-%: CLI_BUILD_DIR := win
114114
cross-win-plugins-%:
115115
mkdir -p build/$(CLI_BUILD_DIR)/$*/docker/cli-plugins
116-
GOOS=windows GOARCH=$* docker run $(BUILD_PLUGIN_RUN_VARS) $(DOCKER_CLI_PLUGIN_GOLANG_IMG) /build
116+
GOOS=windows GOARCH=$* docker run $(BUILD_PLUGIN_RUN_VARS) $(DOCKER_CLI_GOLANG_IMG) /build
117117
$(CHOWN) -R $(shell id -u):$(shell id -g) build/$(CLI_BUILD_DIR)/$*
118118
find build/$(CLI_BUILD_DIR)/$*/docker -type f -not -name "*.exe" -exec mv {} {}.exe \;

0 commit comments

Comments
 (0)