diff --git a/DEVELOP.md b/DEVELOP.md index 054076748..1d7e641f1 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -4,7 +4,7 @@ The following dependencies are required for local development: -- [Go](https://golang.org/dl/) >= 1.17.0 +- [Go](https://golang.org/dl/) >= 1.17.5 - [Tilt](http://tilt.dev/) >= 0.20.8 - Any of the local Kubernetes clusters supported by Tilt. We strongly recommend [minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/) >= diff --git a/Dockerfile.lint b/Dockerfile.lint index ab45325cb..2aafca26d 100644 --- a/Dockerfile.lint +++ b/Dockerfile.lint @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44 -FROM docker.io/golang:1.17.0@sha256:06e92e576fc7a7067a268d47727f3083c0a564331bfcbfdde633157fc91fb17d AS go +FROM docker.io/golang:1.17.5@sha256:90d1ab81f3d157ca649a9ff8d251691b810d95ea6023a03cdca139df58bca599 RUN useradd -u 1000 -U -m -d /home/lint lint USER 1000 diff --git a/Dockerfile.proto b/Dockerfile.proto index 74d75fab9..5f08a130c 100644 --- a/Dockerfile.proto +++ b/Dockerfile.proto @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44 -FROM docker.io/golang:1.17.0@sha256:06e92e576fc7a7067a268d47727f3083c0a564331bfcbfdde633157fc91fb17d AS go-tools +FROM docker.io/golang:1.17.5@sha256:90d1ab81f3d157ca649a9ff8d251691b810d95ea6023a03cdca139df58bca599 AS go-tools RUN mkdir /app @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \ cd /app/tools && CGO_ENABLED=0 ./build.sh # syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44 -FROM docker.io/golang:1.17.0@sha256:06e92e576fc7a7067a268d47727f3083c0a564331bfcbfdde633157fc91fb17d AS go-build +FROM docker.io/golang:1.17.5@sha256:90d1ab81f3d157ca649a9ff8d251691b810d95ea6023a03cdca139df58bca599 AS go-build COPY --from=go-tools /app /app diff --git a/docs/operations.md b/docs/operations.md index f82cb42e4..474d6be3d 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -99,7 +99,7 @@ frequency). Light clients have much lower hardware requirements. For security reasons, we do not provide a pre-built binary. You need to check out the repo and build the guardiand binary from source. A Git repo is much harder to tamper with than release binaries. -To build the Wormhole node, you need [Go](https://golang.org/dl/) >= 1.17.0. +To build the Wormhole node, you need [Go](https://golang.org/dl/) >= 1.17.5. First, check out the version of the Wormhole repo that you want to deploy: diff --git a/node/Dockerfile b/node/Dockerfile index 2cfc1b286..aefcc6420 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44 -FROM docker.io/golang:1.17.0@sha256:06e92e576fc7a7067a268d47727f3083c0a564331bfcbfdde633157fc91fb17d +FROM docker.io/golang:1.17.5@sha256:90d1ab81f3d157ca649a9ff8d251691b810d95ea6023a03cdca139df58bca599 WORKDIR /app diff --git a/scripts/dev-setup.sh b/scripts/dev-setup.sh index 296622418..aaaf66f12 100755 --- a/scripts/dev-setup.sh +++ b/scripts/dev-setup.sh @@ -40,7 +40,7 @@ sudo apt-get -y install bash-completion git git-review vim # Install Go ARCH=amd64 -GO=1.17.3 +GO=1.17.5 ( if [[ -d /usr/local/go ]]; then