Skip to content

Commit f25d3fc

Browse files
committed
bump go and pin jsonnet
1 parent 5ec29d4 commit f25d3fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20 as base
1+
FROM golang:1.23 AS base
22

33
ENV GO111MODULE=on
44
WORKDIR /app
@@ -17,12 +17,12 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
1717
-ldflags='-s -w -extldflags "-static"' \
1818
-o k8s-gen .
1919

20-
FROM golang:1.20-alpine3.18 as jsonnet
20+
FROM golang:1.23-alpine AS jsonnet
2121

2222
RUN apk add --no-cache git
23-
RUN go install github.com/google/go-jsonnet/cmd/jsonnet@latest
23+
RUN go install github.com/google/go-jsonnet/cmd/jsonnet@v0.21.0
2424

25-
FROM alpine:3.18
25+
FROM alpine:3.20
2626

2727
WORKDIR /app
2828

@@ -37,4 +37,4 @@ COPY scripts .
3737
COPY jsonnet jsonnet
3838
COPY LICENSE .
3939

40-
ENTRYPOINT ["./gen.sh"]
40+
ENTRYPOINT ["./gen.sh"]

0 commit comments

Comments
 (0)