Commit dd3fce28 authored by nimrod's avatar nimrod
Browse files

pre-commit: Use the toolbx image as a base.

Already has the different Debian sources and more of the expected
utilities.
parent 6aaa6c24
Loading
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
FROM buildpack-deps:bookworm
COPY --chown=root:root sources.d/* /etc/apt/sources.list.d/
# hadolint ignore=DL3007
FROM registry.shore.co.il/toolbx:latest
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=DL3008,DL3013
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | \
    gpg --no-default-keyring --import --batch --keyring /usr/share/keyrings/hashicorp.gpg && \
    apt-get update && \
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        docker.io \
        python3-dev \
+0 −5
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