mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 01:08:33 +00:00
* Support helm charts and yaml directories as an application source * Run e2e test in parallel and increase timeout
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
FROM golang:1.10.3
|
|
|
|
WORKDIR /tmp
|
|
|
|
RUN curl -O https://get.docker.com/builds/Linux/x86_64/docker-1.13.1.tgz && \
|
|
tar -xzf docker-1.13.1.tgz && \
|
|
mv docker/docker /usr/local/bin/docker && \
|
|
rm -rf ./docker && \
|
|
go get -u github.com/golang/dep/cmd/dep && \
|
|
go get -u gopkg.in/alecthomas/gometalinter.v2 && \
|
|
gometalinter.v2 --install
|
|
|
|
# Install kubectl
|
|
RUN curl -o /kubectl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
|
|
chmod +x /kubectl && mv /kubectl /usr/local/bin/kubectl
|
|
|
|
# Install ksonnet
|
|
env KSONNET_VERSION=0.11.0
|
|
RUN wget https://github.com/ksonnet/ksonnet/releases/download/v${KSONNET_VERSION}/ks_${KSONNET_VERSION}_linux_amd64.tar.gz && \
|
|
tar -C /tmp/ -xf ks_${KSONNET_VERSION}_linux_amd64.tar.gz && \
|
|
mv /tmp/ks_${KSONNET_VERSION}_linux_amd64/ks /usr/local/bin/ks && \
|
|
rm -rf /tmp/ks_${KSONNET_VERSION}
|
|
|
|
# Install helm
|
|
env HELM_VERSION=2.9.1
|
|
RUN wget https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
|
|
tar -C /tmp/ -xf helm-v${HELM_VERSION}-linux-amd64.tar.gz && \
|
|
mv /tmp/linux-amd64/helm /usr/local/bin/helm
|