mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* bug(gitpod): change Kubebuilder curl (#9097) Signed-off-by: Joseph Casey <me@josephmcasey.com> * bug(gitpod): Use go build cache permission * Targets path that user has permission to use Signed-off-by: Joseph Casey <me@josephmcasey.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev>
This commit is contained in:
parent
15adda970b
commit
8635af3d16
1 changed files with 4 additions and 2 deletions
6
.gitpod.Dockerfile
vendored
6
.gitpod.Dockerfile
vendored
|
|
@ -5,13 +5,15 @@ USER root
|
|||
RUN curl -o /usr/local/bin/kubectl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
||||
chmod +x /usr/local/bin/kubectl
|
||||
|
||||
RUN curl -L https://go.kubebuilder.io/dl/2.3.1/$(go env GOOS)/$(go env GOARCH) | \
|
||||
RUN curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_$(go env GOOS)_$(go env GOARCH).tar.gz | \
|
||||
tar -xz -C /tmp/ && mv /tmp/kubebuilder_2.3.1_$(go env GOOS)_$(go env GOARCH) /usr/local/kubebuilder
|
||||
|
||||
ENV GOCACHE=/go-build-cache
|
||||
|
||||
RUN apt-get install redis-server -y
|
||||
RUN go install github.com/mattn/goreman@latest
|
||||
|
||||
USER gitpod
|
||||
|
||||
ENV ARGOCD_REDIS_LOCAL=true
|
||||
ENV KUBECONFIG=/tmp/kubeconfig
|
||||
ENV KUBECONFIG=/tmp/kubeconfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue