File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -17,23 +17,30 @@ RUN set -x \
1717 make \
1818 openssh-client \
1919 rsync \
20- && apt clean \
21- && apt autoclean \
20+ && rm -rf /var/lib/apt/lists/* \
2221 && curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz \
2322 && tar xzf google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz \
2423 && rm google-cloud-sdk-${CLOUD_SDK_VERSION}-linux-x86_64.tar.gz \
2524 && gcloud config set core/disable_usage_reporting true \
2625 && gcloud config set component_manager/disable_update_check true \
2726 && gcloud config set metrics/environment github_docker_image \
2827 && gcloud components install gke-gcloud-auth-plugin \
28+ && rm -rf /google-cloud-sdk/.install/.backup \
2929 && gcloud --version \
3030 && curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version "v${VERSION_HELM}" \
31- && python3 -m pip install --upgrade pip \
32- && python3 -m pip install ansible==${VERSION_ANSIBLE} Jinja2==3.1.2 netaddr==0.8.0 humanfriendly==9.2 jmespath==1.0.1 kubernetes==25.3.0 pyjwt==2.8.0 passlib==1.7.4 \
31+ && python3 -m pip install --disable-pip-version-check --no-cache-dir \
32+ ansible==${VERSION_ANSIBLE} \
33+ Jinja2==3.1.2 \
34+ netaddr==0.8.0 \
35+ humanfriendly==9.2 \
36+ jmespath==1.0.1 \
37+ kubernetes==25.3.0 \
38+ pyjwt==2.8.0 \
39+ passlib==1.7.4 \
3340 && curl -Lo ct https://github.com/coreos/container-linux-config-transpiler/releases/download/v${VERSION_CT}/ct-v${VERSION_CT}-x86_64-unknown-linux-gnu \
3441 && chmod +x ct \
3542 && mv ct /usr/local/bin/ \
36- && rm -rf /var/cache/apt/* / tmp/*
43+ && rm -rf /tmp/*
3744
3845COPY ansible.cfg /etc/ansible/ansible.cfg
3946
You can’t perform that action at this time.
0 commit comments