Skip to content

Commit

Permalink
fix kubebuilder download
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Viswanathan committed Oct 17, 2021
1 parent 2b322a5 commit 6d1446a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ COPY pkg/ pkg/
# Test image
FROM base as test

RUN curl -sL https://go.kubebuilder.io/dl/2.3.1/linux/amd64 | tar -xz -C /tmp/ && \
mv /tmp/kubebuilder_2.3.1_linux_amd64 /usr/local/kubebuilder
RUN curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64.tar.gz | \
tar -xz -C /tmp/ && \
mv /tmp/kubebuilder_2.3.1_linux_amd64 /usr/local/kubebuilder

COPY Makefile Makefile
COPY hack/ hack/
Expand Down

0 comments on commit 6d1446a

Please sign in to comment.