Skip to content

Commit

Permalink
Fixing runs
Browse files Browse the repository at this point in the history
  • Loading branch information
luizbafilho committed Feb 9, 2022
1 parent 7cf0864 commit c3aa9eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM golang:1.17 AS go-build
# Add a kubectl
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
&& install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl \
&& curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-linux-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster; \
&& mv vcluster /usr/local/bin; \
&& curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
&& curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash \
&& curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-linux-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster \
&& chmod +x vcluster \
&& mv vcluster /usr/local/bin

RUN mkdir /app
WORKDIR /app
Expand Down

0 comments on commit c3aa9eb

Please sign in to comment.