File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
10
10
)
11
11
12
12
const dockerfileLines = `
13
- RUN apt-get update && apt-get install -y wget unzip && \
14
- apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
15
- wget https://releases.hashicorp.com/terraform/{{.ClientVersion}}/terraform_{{.ClientVersion}}_linux_amd64.zip && \
13
+ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
14
+ apt-get update && apt-get install -y wget unzip && \
15
+ wget https://releases.hashicorp.com/terraform/{{.ClientVersion}}/terraform_{{.ClientVersion}}_linux_amd64.zip --progress=dot:giga && \
16
16
unzip terraform_{{.ClientVersion}}_linux_amd64.zip -d /usr/bin && \
17
17
rm terraform_{{.ClientVersion}}_linux_amd64.zip
18
18
COPY {{.WorkingDir}}/{{.InitFile}} $BUNDLE_DIR/{{.WorkingDir}}/
You can’t perform that action at this time.
0 commit comments