Skip to content

Commit

Permalink
Update base docker image (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas authored Jun 22, 2021
1 parent 2719b42 commit b6a57a5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
# docker run flink-operator-builder


FROM ubuntu:18.04
FROM golang:1.16.5-alpine

RUN apt update && apt install -yqq curl git make gcc

# Install Go
RUN curl -s https://dl.google.com/go/go1.16.3.linux-amd64.tar.gz | tar -xz -C /usr/local/
ENV GOROOT=/usr/local/go
ENV PATH=${PATH}:${GOROOT}/bin
RUN apk update && apk add curl git make gcc libc-dev

# Install Kubebuilder
RUN curl -sL https://go.kubebuilder.io/dl/2.3.2/linux/amd64 | tar -xz -C /usr/local/ \
Expand Down

0 comments on commit b6a57a5

Please sign in to comment.