Skip to content

Commit dab2b90

Browse files
bgauduchbgauduch
andauthored
🐛 fix curl version breaking build and upgrade versions, add support for TF1.5.1 and AZ 2.33.1 (#119)
* upgrade debian base and setuptools versions, add support for tf 1.0.11 and 1.1.5, add support for az cli 2.31.1 * improve readme * correct az cli version Co-authored-by: bgauduch <user.personal@users.noreply.github.com>
1 parent b86bcba commit dab2b90

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
ARG AZURE_CLI_VERSION
33
ARG TERRAFORM_VERSION
44
ARG PYTHON_MAJOR_VERSION=3.9
5-
ARG DEBIAN_VERSION=bullseye-20210902-slim
5+
ARG DEBIAN_VERSION=bullseye-20220125-slim
66

77
# Download Terraform binary
88
FROM debian:${DEBIAN_VERSION} as terraform-cli
99
ARG TERRAFORM_VERSION
1010
RUN apt-get update
11-
RUN apt-get install --no-install-recommends -y curl=7.74.0-1.3+b1
11+
RUN apt-get install --no-install-recommends -y curl=7.74.0-1.3+deb11u1
1212
RUN apt-get install --no-install-recommends -y ca-certificates=20210119
1313
RUN apt-get install --no-install-recommends -y unzip=6.0-26
1414
RUN apt-get install --no-install-recommends -y gnupg=2.2.27-2
@@ -30,7 +30,7 @@ ARG PYTHON_MAJOR_VERSION
3030
RUN apt-get update
3131
RUN apt-get install -y --no-install-recommends python3=${PYTHON_MAJOR_VERSION}.2-3
3232
RUN apt-get install -y --no-install-recommends python3-pip=20.3.4-4
33-
RUN pip3 install --no-cache-dir setuptools==58.0.4
33+
RUN pip3 install --no-cache-dir setuptools==60.8.2
3434
RUN pip3 install --no-cache-dir azure-cli==${AZURE_CLI_VERSION}
3535

3636
# Build final image

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ Do not hesitate to contribute by [filling an issue](https://github.com/zenika-op
9090
* check **Azure CLI** version on the [project release page](https://github.com/Azure/azure-cli/releases)
9191
* check **Terraform CLI** version (keep all minor versions from 0.11) available on the [project release page](https://github.com/hashicorp/terraform/releases)
9292
* Dockerfile:
93-
* check **base image** version on DockerHub
93+
* check **base image** version [on DockerHub](https://hub.docker.com/_/debian?tab=tags&page=1&name=bullseye)
9494
* check **OS package** versions on Debian package repository
95-
* Available **Git** versions on the [Debian Packages repository](https://packages.debian.org/search?arch=any&searchon=names&keywords=git)
96-
* Available **Python** versions on the [Debian packages repository](https://packages.debian.org/search?arch=any&searchon=names&keywords=python3)
95+
* Available **Git** versions on the [Debian Packages repository](https://packages.debian.org/search?suite=bullseye&arch=any&searchon=names&keywords=git)
96+
* Available **Python** versions on the [Debian packages repository](https://packages.debian.org/search?suite=bullseye&arch=any&searchon=names&keywords=python3)
9797
* same process for **all other packages**
9898
* check **Pip package** versions on [pypi](https://pypi.org/)
9999
* Github actions:

supported_versions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"0.13.7",
66
"0.14.11",
77
"0.15.5",
8-
"1.0.6"
8+
"1.0.11",
9+
"1.1.5"
910
],
1011
"azcli_version": [
11-
"2.28.1"
12+
"2.33.1"
1213
]
1314
}

0 commit comments

Comments
 (0)