From 0cc6f7537a76ffb65b78182d0cba36e41b98a9e6 Mon Sep 17 00:00:00 2001 From: Chris Kim <30601846+Oats87@users.noreply.github.com> Date: Wed, 26 Aug 2020 12:05:07 -0700 Subject: [PATCH] Add a cachebust to ensure we are always pulling the latest charts (#236) Signed-off-by: Chris Kim --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index d4e624197d..6c55e3d5ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,12 +64,12 @@ COPY --from=build-k8s \ FROM build AS charts ARG CHARTS_REPO="https://rke2-charts.rancher.io" COPY charts/ /charts/ -RUN CHART_VERSION="v3.13.3" CHART_FILE=/charts/rke2-canal-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh -RUN CHART_VERSION="1.10.101" CHART_FILE=/charts/rke2-coredns-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh -RUN CHART_VERSION="1.36.300" CHART_FILE=/charts/rke2-ingress-nginx-chart.yml CHART_BOOTSTRAP=false /charts/build-chart.sh -RUN CHART_VERSION="v1.18.4" CHART_FILE=/charts/rke2-kube-proxy-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh -RUN CHART_VERSION="2.11.100" CHART_FILE=/charts/rke2-metrics-server-chart.yml CHART_BOOTSTRAP=false /charts/build-chart.sh -RUN rm -vf /charts/*.{sh,md} +RUN echo CACHEBUST>/dev/null; CHART_VERSION="v3.13.3" CHART_FILE=/charts/rke2-canal-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh +RUN echo CACHEBUST>/dev/null; CHART_VERSION="1.10.101" CHART_FILE=/charts/rke2-coredns-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh +RUN echo CACHEBUST>/dev/null; CHART_VERSION="1.36.300" CHART_FILE=/charts/rke2-ingress-nginx-chart.yml CHART_BOOTSTRAP=false /charts/build-chart.sh +RUN echo CACHEBUST>/dev/null; CHART_VERSION="v1.18.4" CHART_FILE=/charts/rke2-kube-proxy-chart.yml CHART_BOOTSTRAP=true /charts/build-chart.sh +RUN echo CACHEBUST>/dev/null; CHART_VERSION="2.11.100" CHART_FILE=/charts/rke2-metrics-server-chart.yml CHART_BOOTSTRAP=false /charts/build-chart.sh +RUN rm -vf /charts/*.sh /charts/*.md # rke-runtime image # This image includes any host level programs that we might need. All binaries