start upgrade to golang 1.19.4 and alpine 3.17.0 (#9417)
* start upgrade to 1.19.4 Signed-off-by: James Strong <james.strong@chainguard.dev> * add matrix to image test-image Signed-off-by: James Strong <james.strong@chainguard.dev> * update to alpine 3.17 Signed-off-by: James Strong <james.strong@chainguard.dev> * remove need for curl Signed-off-by: James Strong <james.strong@chainguard.dev> Signed-off-by: James Strong <james.strong@chainguard.dev>
This commit is contained in:
parent
17d8266a2a
commit
e3e0d9c1f4
16 changed files with 106 additions and 21 deletions
|
|
@ -1,9 +1,9 @@
|
|||
FROM golang:buster as build
|
||||
FROM golang:1.19.4-alpine3.17 as build
|
||||
|
||||
WORKDIR /go/src/greeter-server
|
||||
|
||||
RUN curl -o main.go https://raw.githubusercontent.com/grpc/grpc-go/91e0aeb192456225adf27966d04ada4cf8599915/examples/features/reflection/server/main.go && \
|
||||
go mod init greeter-server && \
|
||||
COPY main.go .
|
||||
RUN go mod init greeter-server && \
|
||||
go mod tidy && \
|
||||
go build -o /greeter-server main.go
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue