Skip to content

Commit

Permalink
feat: tooling upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiondic committed Sep 1, 2022
1 parent b1a5596 commit fae3351
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.2-bullseye
FROM golang:1.18.5-bullseye

RUN apt-get update && \
apt-get install lsb-release -y
Expand All @@ -8,14 +8,14 @@ RUN go version
RUN apt-get update

################## Tooling prerequisites ######################
ARG AZURE_CLI_VERSION=2.37.0
ARG AZURE_CLI_VERSION=2.39.0
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list
RUN curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN apt-get install apt-transport-https
RUN apt-get update && apt-get install -y azure-cli=${AZURE_CLI_VERSION}-1~bullseye

# Install terraform
ARG TERRAFORM_VERSION=1.2.1
ARG TERRAFORM_VERSION=1.2.8
RUN curl -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip --output terraform.zip
RUN apt-get install unzip
RUN unzip terraform.zip
Expand All @@ -24,7 +24,7 @@ RUN mv terraform /usr/local/bin
# k8s CLI
# You must use a kubectl version that is within one minor version difference of your cluster.
# For example, a v1.24 client can communicate with v1.23, v1.24, and v1.25 control planes.
ARG KUBECTL_VERSION=v1.23.5
ARG KUBECTL_VERSION=v1.25.0
RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
RUN kubectl version --client=true
Expand All @@ -35,7 +35,7 @@ RUN chmod 700 get_helm.sh
RUN ./get_helm.sh

# copsctl
ENV COPSCTL_VERSION 0.8.2
ENV COPSCTL_VERSION 0.8.4
RUN curl -LO https://github.com/conplementAG/copsctl/releases/download/v${COPSCTL_VERSION}/copsctl_${COPSCTL_VERSION}_Linux_x86_64.tar.gz
RUN tar xvzf copsctl_${COPSCTL_VERSION}_Linux_x86_64.tar.gz
RUN mv copsctl $GOPATH/bin
Expand Down
8 changes: 4 additions & 4 deletions pkg/hq/dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
)

const (
ExpectedMinAzureCliVersion = "2.37.0"
ExpectedMinTerraformVersion = "1.2.1"
ExpectedMinAzureCliVersion = "2.39.0"
ExpectedMinTerraformVersion = "1.2.8"
ExpectedMinHelmVersion = "3.8.2"
ExpectedMinKubectlVersion = "1.23.5"
ExpectedMinCopsctlVersion = "0.8.0"
ExpectedMinKubectlVersion = "1.25.0"
ExpectedMinCopsctlVersion = "0.8.4"
ExpectedMinSopsVersion = "3.7.3"
)

Expand Down

0 comments on commit fae3351

Please sign in to comment.