From 2b72fe21127a9edb36bcebaefa177a8f31d8d909 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Thu, 25 Nov 2021 03:18:23 +0700 Subject: [PATCH] Go 1.17 provides a much clearer go.mod file (#679) * Go 1.17 provides a much clearer go.mod file * tidy * Go 1.17 cleanup --- .circleci/config.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- contrib/prototools-docker/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 10d20f5cac..5434a3992f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 executors: golang: docker: - - image: circleci/golang:1.16 + - image: circleci/golang:1.17 working_directory: /go/src/github.com/cosmwasm/wasmd commands: diff --git a/Dockerfile b/Dockerfile index 2af74e36e6..b2d83498be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # docker build . -t cosmwasm/wasmd:latest # docker run --rm -it cosmwasm/wasmd:latest /bin/sh -FROM golang:1.16.8-alpine3.13 AS go-builder +FROM golang:1.17.3-alpine AS go-builder # this comes from standard alpine nightly file # https://github.com/rust-lang/docker-rust-nightly/blob/master/alpine3.12/Dockerfile diff --git a/README.md b/README.md index 36d0b39821..31a2f9f958 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This code was forked from the `cosmos/gaia` repository as a basis and then we ad many gaia-specific files. However, the `wasmd` binary should function just like `gaiad` except for the addition of the `x/wasm` module. -**Note**: Requires [Go 1.16.8+](https://golang.org/dl/) +**Note**: Requires [Go 1.17+](https://golang.org/dl/) ## Compatibility with CosmWasm contracts diff --git a/contrib/prototools-docker/Dockerfile b/contrib/prototools-docker/Dockerfile index 8731cd8c47..7d5af0d1fb 100644 --- a/contrib/prototools-docker/Dockerfile +++ b/contrib/prototools-docker/Dockerfile @@ -39,7 +39,7 @@ RUN GO111MODULE=on go get \ RUN upx --lzma /usr/local/bin/* -FROM golang:1.16.8-alpine3.13 +FROM golang:1.17.3-alpine ENV LD_LIBRARY_PATH=/lib64:/lib WORKDIR /work