Skip to content

Commit adf737b

Browse files
committed
build: Add go mod tidy in Dockerfile
1 parent 009f096 commit adf737b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM golang:alpine AS builder
22
WORKDIR /app
33
ADD . ./
4+
RUN go mod tidy
45
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o k8s-ttl-controller .
56
RUN apk --update add ca-certificates
67

0 commit comments

Comments
 (0)