Skip to content

Commit

Permalink
Move pre-commit installation into Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
exhuma committed Jul 11, 2022
1 parent 649f057 commit b9bada2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ RUN apt update && \
libnotify-bin \
pandoc \
vim-nox \
python3 \
python3-pip \
python3-venv \
jq
jq && \
pip3 install pre-commit

# [Optional] Uncomment if you want to install an additional version of node using nvm
# ARG EXTRA_NODE_VERSION=10
Expand Down
2 changes: 0 additions & 2 deletions .devcontainer/init-container.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
set -xe
pip install --user pipx
pipx install pre-commit
npm clean-install
pre-commit install

0 comments on commit b9bada2

Please sign in to comment.