parent
a3b9760aca
commit
00c046e81e
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
The following dependencies are required for local development:
|
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
|
- [Tilt](http://tilt.dev/) >= 0.20.8
|
||||||
- Any of the local Kubernetes clusters supported by Tilt.
|
- Any of the local Kubernetes clusters supported by Tilt.
|
||||||
We strongly recommend [minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/) >=
|
We strongly recommend [minikube](https://kubernetes.io/docs/setup/learning-environment/minikube/) >=
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44
|
# 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
|
RUN useradd -u 1000 -U -m -d /home/lint lint
|
||||||
USER 1000
|
USER 1000
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44
|
# 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
|
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
|
cd /app/tools && CGO_ENABLED=0 ./build.sh
|
||||||
|
|
||||||
# syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44
|
# 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
|
COPY --from=go-tools /app /app
|
||||||
|
|
||||||
|
|
|
@ -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
|
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.
|
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:
|
First, check out the version of the Wormhole repo that you want to deploy:
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax=docker.io/docker/dockerfile:experimental@sha256:de85b2f3a3e8a2f7fe48e8e84a65f6fdd5cd5183afa6412fff9caa6871649c44
|
# 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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ sudo apt-get -y install bash-completion git git-review vim
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
GO=1.17.3
|
GO=1.17.5
|
||||||
|
|
||||||
(
|
(
|
||||||
if [[ -d /usr/local/go ]]; then
|
if [[ -d /usr/local/go ]]; then
|
||||||
|
|
Loading…
Reference in New Issue