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
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
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 \
+5 −0
Original line number Diff line number Diff line
Types: deb
URIs: https://apt.releases.hashicorp.com
Suites: buster
Components: main
Signed-By: /usr/share/keyrings/hashicorp.gpg