From d498343ba340911c794367cd6338360e91ebeac1 Mon Sep 17 00:00:00 2001 From: David Lewis Date: Tue, 14 Jul 2020 02:23:20 -0700 Subject: [PATCH] Update tools to latest stable versions --- CHANGELOG.md | 10 +++++++++- Dockerfile | 15 ++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bba12d5..c624513 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +v2.1 +---- + +* Updated base Python to 3.8.4-alpine3.12 +* Updated Kubectl to v1.18.5 +* Updated Kustomize to 3.8.0 +* Updated Conftest to 0.19.0 +* Updated Conftest to new home at open-policy-agent + v2.0 ---- @@ -7,4 +16,3 @@ v2.0 * Updated YamlLint to v1.23 * Updated Kustomize to v3.5.4 * Added ConfTest v0.18.1 - diff --git a/Dockerfile b/Dockerfile index 3f6d0c9..e8286a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM python:3.8.2-alpine3.11 +FROM python:3.8.4-alpine3.12 +# https://hub.docker.com/_/python -ARG APP_VERSION=2.0 +ARG APP_VERSION=2.1 # https://github.com/kubernetes/kubectl/releases -ARG KUBECTL_VERSION=1.18.2 +ARG KUBECTL_VERSION=1.18.5 # https://github.com/instrumenta/kubeval/releases ARG KUBEVAL_VERSION=0.15.0 @@ -12,10 +13,10 @@ ARG KUBEVAL_VERSION=0.15.0 ARG YAMLLINT_VERSION=1.23.0 # https://github.com/kubernetes-sigs/kustomize/releases -ARG KUSTOMIZE_VERSION=3.5.4 +ARG KUSTOMIZE_VERSION=3.8.0 -# https://github.com/instrumenta/conftest/releases -ARG CONFTEST_VERSION=0.18.1 +# https://github.com/open-policy-agent/conftest/releases +ARG CONFTEST_VERSION=0.19.0 # split layers into distinct components RUN apk add --no-cache ca-certificates curl @@ -45,7 +46,7 @@ RUN mkdir /tmp/kustomize \ # Install Conftest (https://www.conftest.dev/) RUN mkdir /tmp/conftest \ && curl -L -o /tmp/conftest/conftest.tar.gz \ - https://github.com/instrumenta/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz \ + https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz \ && tar xf /tmp/conftest/conftest.tar.gz -C /tmp/conftest \ && mv /tmp/conftest/conftest /usr/local/bin \ && chmod +x /usr/local/bin/conftest \