Skip to content

Commit 4b35f7e

Browse files
committed
Fix Dockerfile lint errors
1 parent 2d29d30 commit 4b35f7e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
ARG TF_AZ_CLI_VERSION=release-5.1_terraform-0.12.29_azcli-2.15.1
22
FROM zenika/terraform-azure-cli:${TF_AZ_CLI_VERSION} AS build
33

4-
RUN apt-get update && apt-get install git python3-pip -y
5-
RUN pip3 install gitpython python-terraform pyhcl
4+
RUN apt-get update && \
5+
apt-get install --no-install-recommends git=1:2.20.1-2+deb10u3 python3-pip=18.1-5 -y && \
6+
apt-get clean && rm -rf /var/lib/apt/lists/*
7+
RUN pip3 install gitpython==3.1.12 python-terraform==0.10.1 pyhcl==0.4.4
68

79
FROM build as final
810
WORKDIR /workspace

0 commit comments

Comments
 (0)