Skip to content

Commit

Permalink
bump image to use golang 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Mar 3, 2020
1 parent 5d97fe9 commit c528075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12
FROM golang:1.13
WORKDIR /go/src/github.com/k14s/kapp-controller/

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 && \

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

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

0 comments on commit c528075

Please sign in to comment.