From 735c43dc65917422a6cd4e1e9ebd9c837ae2e7d7 Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Mon, 2 Oct 2023 11:43:27 +1100 Subject: [PATCH] Use a default value for BUILDARCH agrument Signed-off-by: Nikita Skrynnik --- Dockerfile | 2 +- main.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index df568073..a51b7018 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV PATH ${PATH}:/go/bin ENV GO111MODULE=on ENV CGO_ENABLED=0 ENV GOBIN=/bin -ARG BUILDARCH +ARG BUILDARCH=amd64 RUN rm -r /etc/vpp RUN go install github.com/go-delve/delve/cmd/dlv@v1.21.0 RUN go install github.com/grpc-ecosystem/grpc-health-probe@v0.4.1 diff --git a/main.go b/main.go index e2b1fe28..a038abbc 100644 --- a/main.go +++ b/main.go @@ -228,7 +228,6 @@ func main() { dialOptions := append( tracing.WithTracingDial(), - grpc.WithBlock(), grpc.WithDefaultCallOptions( grpc.WaitForReady(true), grpc.PerRPCCredentials(token.NewPerRPCCredentials(spiffejwt.TokenGeneratorFunc(source, cfg.MaxTokenLifetime)))),