File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed
images/fil-snapshots-archive Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -35,3 +35,22 @@ repos:
3535 hooks :
3636 - id : shellcheck
3737 files : \.sh$
38+
39+ - repo : https://github.com/igorshubovych/markdownlint-cli
40+ rev : v0.45.0
41+ hooks :
42+ - id : markdownlint
43+ args : ['--fix']
44+
45+ - repo : https://github.com/JangasCodingplace/commit-prefix-pre-commit
46+ rev : v0.0.3-beta
47+ hooks :
48+ - id : commit-prefix
49+ stages : [commit-msg]
50+
51+ - repo : https://github.com/compilerla/conventional-pre-commit
52+ rev : v4.2.0
53+ hooks :
54+ - id : conventional-pre-commit
55+ stages : [commit-msg]
56+ args : []
Original file line number Diff line number Diff line change @@ -26,4 +26,8 @@ RUN forest -V \
2626 && jq -V \
2727 && python3 -V
2828
29+ RUN groupadd --gid 1001 forest \
30+ && useradd --uid 1001 --gid 1001 --create-home --shell /bin/bash forest
31+
32+ USER forest
2933ENTRYPOINT ["/bin/bash"]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN apt-get update \
77 build-essential \
88 clang-14 \
99 curl \
10- git \
10+ git \
1111 ca-certificates \
1212 && update-ca-certificates
1313ENV CC=clang-14 CXX=clang++-14
@@ -93,6 +93,10 @@ RUN forest -V \
9393 && forest-cli -V \
9494 && forest-tool -V \
9595 && jq -V \
96- && python3 -V
96+ && python3 -V \
9797
98+ RUN groupadd --gid 1001 forest \
99+ && useradd --uid 1001 --gid 1001 --create-home --shell /bin/bash forest
100+
101+ USER forest
98102ENTRYPOINT ["/bin/bash"]
You can’t perform that action at this time.
0 commit comments