Skip to content
Snippets Groups Projects
Commit 0b5b163b authored by nimrod's avatar nimrod
Browse files

Add the Hashicorp repository to the pre-commit image.

Sometimes Terraform or Packer are needed. This will make it as all that
will be needed is an `apt-get update && apt-get install -y terraform`
without making the image bigger than it needs to be.
parent 24767f7a
No related branches found
No related tags found
No related merge requests found
Pipeline #2693 failed
FROM buildpack-deps:bullseye
COPY --chown=root:root sources.d/* /etc/apt/sources.list.d/
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
# hadolint ignore=DL3008,DL3013
RUN apt-get update && \
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | \
gpg --no-default-keyring --import --batch --keyring /usr/share/keyrings/hashicorp.gpg && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
docker.io \
python3-dev \
......
Types: deb
URIs: https://apt.releases.hashicorp.com
Suites: buster
Components: main
Signed-By: /usr/share/keyrings/hashicorp.gpg
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment