Skip to content

Commit

Permalink
refactor: Install git for pre-commit in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Aug 19, 2024
1 parent 1e41515 commit 70ba56e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ repos:
rev: e70baeefd566058716df2f29eae8fe8ffc213a9f # frozen: v2.12.1b3
hooks:
- id: hadolint
args: [--ignore=DL3008]
- repo: https://github.com/executablebooks/mdformat
rev: 08fba30538869a440b5059de90af03e3502e35fb # frozen: 0.7.17
hooks:
Expand Down
2 changes: 1 addition & 1 deletion actions/update-development-dependencies/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY update_development_dependencies.py /update_development_dependencies.py
# Install dependencies
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/00-docker && \
apt-get update --quiet && \
apt-get install --quiet --assume-yes --no-install-recommends git=2.46.0 && \
apt-get install --quiet --assume-yes --no-install-recommends git && \
apt-get clean && \
rm --force --recursive /var/lib/apt/lists/*
RUN python -m pip install --no-cache-dir --requirement /requirements.txt
Expand Down

0 comments on commit 70ba56e

Please sign in to comment.