From e621c6e973ffd12ea0e1fbfdac47c0dd217f10de Mon Sep 17 00:00:00 2001 From: Jintao Zhang Date: Wed, 1 Dec 2021 09:35:18 +0800 Subject: [PATCH] fix: go-grpc Dockerfile (#8001) Signed-off-by: Jintao Zhang --- images/go-grpc-greeter-server/rootfs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/go-grpc-greeter-server/rootfs/Dockerfile b/images/go-grpc-greeter-server/rootfs/Dockerfile index a528c6cb60..8db118349f 100644 --- a/images/go-grpc-greeter-server/rootfs/Dockerfile +++ b/images/go-grpc-greeter-server/rootfs/Dockerfile @@ -2,7 +2,7 @@ FROM golang:buster as build WORKDIR /go/src/greeter-server -RUN curl -o main.go https://github.com/grpc/grpc-go/blob/91e0aeb192456225adf27966d04ada4cf8599915/examples/features/reflection/server/main.go && \ +RUN curl -o main.go https://raw.githubusercontent.com/grpc/grpc-go/91e0aeb192456225adf27966d04ada4cf8599915/examples/features/reflection/server/main.go && \ go mod init greeter-server && \ go mod tidy && \ go build -o /greeter-server main.go