Skip to content

Commit c528075

Browse files
committedMar 3, 2020
bump image to use golang 1.13
1 parent 5d97fe9 commit c528075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.12
1+
FROM golang:1.13
22
WORKDIR /go/src/github.com/k14s/kapp-controller/
33

44
RUN apt-get -y update && apt-get install -y ca-certificates && update-ca-certificates
@@ -13,7 +13,7 @@ RUN wget -O- https://get.helm.sh/helm-v2.14.3-linux-amd64.tar.gz > /helm && \
1313

1414
# kapp-controller
1515
COPY . .
16-
RUN CGO_ENABLED=0 GOOS=linux go build -v -o controller ./cmd/controller/...
16+
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags=-buildid= -trimpath -o controller ./cmd/controller/...
1717

1818
# ---
1919
# Needs ubuntu for installing git/openssh

0 commit comments

Comments
 (0)
Please sign in to comment.