Skip to content

Commit

Permalink
devops: Install pre-commit into devcontainer
Browse files Browse the repository at this point in the history
Does #3149 (comment) automatically
  • Loading branch information
max-sixty committed Aug 14, 2023
1 parent f84022c commit 4581a4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/base-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN apt-get update \
COPY Taskfile.yml /tmp/Taskfile.yml
USER vscode

RUN task -t /tmp/Taskfile.yml install-cargo-tools-binstall
RUN task -t /tmp/Taskfile.yml install-cargo-tools-binstall \
&& task install-pre-commit \
&& pre-commit install-hooks

USER root

0 comments on commit 4581a4f

Please sign in to comment.