Skip to content

Commit 9473170

Browse files
moved to go.mod & made compatible with k8s 1.24 (#11)
1 parent 1f12718 commit 9473170

File tree

1,524 files changed

+807
-715313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,524 files changed

+807
-715313
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.10-alpine3.8 as builder
1+
FROM golang:1.19-alpine3.16 as builder
22

33
# Add basic tools
44
RUN apk add --no-cache --update curl bash make git
@@ -7,13 +7,19 @@ RUN mkdir -p /go/src/github.com/codefresh-io/stevedore
77
WORKDIR /go/src/github.com/codefresh-io/stevedore
88

99
ENV GOPATH /go
10+
11+
COPY go.mod .
12+
COPY go.sum .
13+
14+
RUN go mod download
15+
1016
COPY . .
1117

1218
# Build binary
1319
RUN "./scripts/BUILD.sh"
1420

1521

16-
FROM alpine:3.6
22+
FROM alpine:3.16
1723

1824
RUN apk add --no-cache ca-certificates
1925

0 commit comments

Comments
 (0)