diff --git a/images/lorax-build/Dockerfile b/images/lorax-build/Dockerfile index 04a30023..eca3de10 100644 --- a/images/lorax-build/Dockerfile +++ b/images/lorax-build/Dockerfile @@ -32,7 +32,7 @@ RUN yum update -y && yum install -y \ # Note we install kubeadm only so we can snag a list of its required images with the config shipped # for this version of kubeadm (matches the one we install with our installer iso). -RUN gem install --no-ri --no-rdoc fpm +RUN gem install --no-ri --no-rdoc fpm -f COPY images/lorax-build/lorax.conf /etc/lorax/ diff --git a/scripts/build/build_lorax_image.sh b/scripts/build/build_lorax_image.sh index 04e23c55..7b522602 100755 --- a/scripts/build/build_lorax_image.sh +++ b/scripts/build/build_lorax_image.sh @@ -19,6 +19,7 @@ if [[ -z "${KUBEVERSION}" ]]; then fi docker build \ + --no-cache \ -t lorax-build:${VERSION} \ --build-arg "KUBERNETES_VERSION=${KUBEVERSION}" \ -f ${REPO_ROOT}/images/lorax-build/Dockerfile \