update functions/examples/template-go-nginx code and update go1.18

This commit is contained in:
koba1t
2022-06-30 02:42:59 +09:00
parent 0421c9fb50
commit 20a93fdd12
18 changed files with 653 additions and 233 deletions

View File

@@ -5,7 +5,7 @@ FROM alpine:latest as schemas
RUN apk --no-cache add git
RUN git clone --depth 1 https://github.com/instrumenta/kubernetes-json-schema.git
FROM golang:1.13-stretch as function
FROM golang:1.18-stretch as function
ENV CGO_ENABLED=0
WORKDIR /go/src/
COPY go.mod .