File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 11# Instead of building from scratch pull my other docker image
22FROM devopsinfra/docker-terragrunt:slim-tf-latest AS builder
33
4- # Use a clean tiny image to store artifacts in
5- FROM alpine:3.22.2
4+ FROM ubuntu:questing-20251007
5+
6+ # Disable interactive mode
7+ ENV DEBIAN_FRONTEND=noninteractive
68
79# Copy all needed files
810COPY --from=builder /usr/bin/terraform /usr/bin/
911COPY entrypoint.sh /usr/bin/
1012
1113# Install needed packages
12- RUN set -eux ;\
13- chmod +x /usr/bin/entrypoint.sh /usr/bin/terraform ;\
14- apk update --no-cache ;\
15- apk add --no-cache \
16- bash~=5.2 \
17- curl~=8.14 \
18- git~=2.49 ;\
19- rm -rf /var/cache/* ;\
20- rm -rf /root/.cache/*
14+ SHELL ["/bin/bash" , "-euxo" , "pipefail" , "-c" ]
15+ # hadolint ignore=DL3008
16+ RUN chmod +x /usr/bin/entrypoint.sh /usr/bin/terraform ;\
17+ apt-get update -y ;\
18+ apt-get install --no-install-recommends -y \
19+ bash \
20+ curl \
21+ git ;\
22+ apt-get clean ;\
23+ rm -rf /var/lib/apt/lists/*
2124
2225# Finish up
2326CMD ["terraform --version" ]
You can’t perform that action at this time.
0 commit comments