Skip to content

Commit

Permalink
Update Golang crossbuild images to 1.14.12 (#70)
Browse files Browse the repository at this point in the history
* Update Golang crossbuild images to 1.14.12

* Disable MIPS images temporarily
* Disable MIPS for Go1.13
* remove ppc as well
* disable s390x
  • Loading branch information
kvch authored Dec 1, 2020
1 parent a61d5e1 commit 3cc5920
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion go1.13/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
IMAGES := base main darwin arm mips ppc s390x
# mips ppc s390x are temporarily disabled. See: https://github.com/elastic/golang-crossbuild/issues/71
IMAGES := base main darwin arm

build:
@$(foreach var,$(IMAGES),$(MAKE) -C $(var) build || exit 1;)
Expand Down
3 changes: 2 additions & 1 deletion go1.14/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
IMAGES := base main darwin arm mips ppc s390x
# mips ppc s390x are temporarily disabled. See: https://github.com/elastic/golang-crossbuild/issues/71
IMAGES := base main darwin arm

build:
@$(foreach var,$(IMAGES),$(MAKE) -C $(var) build || exit 1;)
Expand Down
2 changes: 1 addition & 1 deletion go1.14/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(SELF_DIR)/../Makefile.common

NAME := golang-crossbuild
VERSION := 1.14.7
VERSION := 1.14.12
DEBIAN_VERSION ?= 9
SUFFIX := -$(shell basename $(CURDIR))
TAG_EXTENSION ?=
Expand Down
4 changes: 2 additions & 2 deletions go1.14/base/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ RUN \
bison \
&& rm -rf /var/lib/apt/lists/*

ARG GOLANG_VERSION=1.14.7
ARG GOLANG_VERSION=1.14.12
ARG GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ARG GOLANG_DOWNLOAD_SHA256=4a7fa60f323ee1416a4b1425aefc37ea359e9d64df19c326a58953a97ad41ea5
ARG GOLANG_DOWNLOAD_SHA256=fb26f951c88c0685d7df393611189c58e6eabd3c17bdaef37df11355ab8db9d3

RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
Expand Down

0 comments on commit 3cc5920

Please sign in to comment.