Skip to content

Commit

Permalink
Update kanister build to go1.19.2 buster (#1675)
Browse files Browse the repository at this point in the history
* go1.19.2 buster

* clean in initial run command
  • Loading branch information
bathina2 committed Oct 13, 2022
1 parent 655c5c3 commit 51787ba
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM alpine:3.10.5
FROM golang:1.19.2-buster

LABEL maintainer="Tom Manville<tom@kasten.io>"

RUN apk add --update --no-cache ca-certificates bash git docker curl jq \
RUN apt-get update && apt-get -y install ca-certificates bash git docker curl jq wget \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*

COPY --from=golang:1.17.6-alpine3.15 /usr/local/go/ /usr/local/go/
&& apt-get clean

COPY --from=bitnami/kubectl:1.17 /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/

Expand Down

0 comments on commit 51787ba

Please sign in to comment.