forked from elastic/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[meta] update docker images (elastic#1604)
* [meta] update docker images - use python slim base images - bump python version - bump python dependencies - bump tools version * cleanup dependencies * lint test files with new black version * link gcloud to path * do not build helm-tester docker image by default
- Loading branch information
Showing
12 changed files
with
180 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
set -euo pipefail | ||
cd ${CHART} | ||
make test | ||
make build test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
atomicwrites==1.3.0 | ||
attrs==19.1.0 | ||
importlib-metadata==0.23 | ||
more-itertools==7.2.0 | ||
pluggy==0.13.0 | ||
py==1.10.0 | ||
pytest==4.1.0 | ||
PyYAML==5.4 | ||
six==1.12.0 | ||
zipp==0.6.0 | ||
pytest==7.0.1 | ||
PyYAML==6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,48 @@ | ||
FROM centos:7 | ||
FROM python:3.10.2-slim | ||
|
||
ENV VAULT_VERSION 0.9.3 | ||
ENV TERRAFORM_VERSION=0.11.7 | ||
ENV KUBECTL_VERSION=1.21.6 | ||
ENV DOCKER_VERSION=20.10.12 | ||
ENV GCLOUD_VERSION=375.0.0 | ||
ENV HELM_VERSION=3.8.0 | ||
ENV DOCKER_VERSION=18.09.7 | ||
ENV JQ_VERSION=1.6 | ||
ENV KUBECTL_VERSION=1.21.6 | ||
ENV TERRAFORM_VERSION=0.11.7 | ||
ENV VAULT_VERSION=1.9.3 | ||
|
||
RUN yum -y install \ | ||
make \ | ||
openssl \ | ||
unzip \ | ||
which | ||
RUN apt-get update && apt-get upgrade -y && \ | ||
apt-get install --no-install-recommends -y curl jq make openssl unzip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN yum -y install \ | ||
https://packages.cloud.google.com/yum/pool/654962a43cb6bc6b47bc312424410b7c203e1beb73386d868d9e614839c82609-google-cloud-sdk-215.0.0-1.el7.noarch.rpm && \ | ||
gcloud config set core/disable_usage_reporting true && \ | ||
gcloud config set component_manager/disable_update_check true && \ | ||
gcloud version | ||
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_VERSION}-linux-x86_64.tar.gz && \ | ||
tar xvf google-cloud-sdk-${GCLOUD_VERSION}-linux-x86_64.tar.gz && \ | ||
./google-cloud-sdk/install.sh --quiet --usage-reporting=false --path-update=true && \ | ||
rm -fr google-cloud-sdk-${GCLOUD_VERSION}-linux-x86_64.tar.gz && \ | ||
ln -s /google-cloud-sdk/bin/gcloud /usr/local/bin/gcloud && \ | ||
gcloud config set component_manager/disable_update_check true && \ | ||
gcloud version | ||
|
||
RUN curl -O https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \ | ||
unzip vault_${VAULT_VERSION}_linux_amd64.zip -d /usr/local/bin/ && \ | ||
chmod +x /usr/local/bin/vault && \ | ||
rm -f vault_${VAULT_VERSION}_linux_amd64.zip && \ | ||
vault version | ||
unzip vault_${VAULT_VERSION}_linux_amd64.zip -d /usr/local/bin/ && \ | ||
chmod +x /usr/local/bin/vault && \ | ||
rm -f vault_${VAULT_VERSION}_linux_amd64.zip && \ | ||
vault version | ||
|
||
RUN curl -O https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \ | ||
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin/ && \ | ||
rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \ | ||
terraform version | ||
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin/ && \ | ||
rm -f terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \ | ||
terraform version | ||
|
||
RUN curl -O https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \ | ||
mv kubectl /usr/local/bin/ && \ | ||
chmod a+x /usr/local/bin/kubectl && \ | ||
kubectl version --client | ||
mv kubectl /usr/local/bin/ && \ | ||
chmod a+x /usr/local/bin/kubectl && \ | ||
kubectl version --client | ||
|
||
RUN curl -O https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ | ||
tar xfv helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ | ||
mv linux-amd64/helm /usr/local/bin/ && \ | ||
rm -rf helm-v${HELM_VERSION}-linux-amd64.tar.gz linux-amd64 && \ | ||
helm version --client | ||
tar xfv helm-v${HELM_VERSION}-linux-amd64.tar.gz && \ | ||
mv linux-amd64/helm /usr/local/bin/ && \ | ||
rm -rf helm-v${HELM_VERSION}-linux-amd64.tar.gz linux-amd64 && \ | ||
helm version --client | ||
|
||
RUN curl -O https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz && \ | ||
tar xfv docker* && \ | ||
mv docker/docker /usr/local/bin && \ | ||
rm -rf docker-${DOCKER_VERSION}.tgz docker/ && \ | ||
docker -v | ||
|
||
RUN curl -O -L https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 && \ | ||
mv jq-linux64 /usr/local/bin/jq && \ | ||
chmod a+x /usr/local/bin/jq && \ | ||
jq --version | ||
tar xfv docker* && \ | ||
mv docker/docker /usr/local/bin && \ | ||
rm -rf docker-${DOCKER_VERSION}.tgz docker/ && \ | ||
docker -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.