- Allow yamllint install on Debian 12 image with --break-system-packages (PEP 668) - Set executable bits for scripts: ci, setup-hooks, commitlint-hook
This commit is contained in:
@@ -21,8 +21,8 @@ RUN set -eux; \
|
|||||||
tar -C /usr/local/bin -xzf /usr/local/bin/actionlint; \
|
tar -C /usr/local/bin -xzf /usr/local/bin/actionlint; \
|
||||||
rm -f /usr/local/bin/actionlint
|
rm -f /usr/local/bin/actionlint
|
||||||
|
|
||||||
# yamllint via pip
|
# yamllint via pip (allow install on Debian's externally-managed Python)
|
||||||
RUN pip3 install --no-cache-dir yamllint==1.35.1
|
RUN pip3 install --break-system-packages --no-cache-dir yamllint==1.35.1
|
||||||
|
|
||||||
# Node + npm for prettier, markdownlint, commitlint
|
# Node + npm for prettier, markdownlint, commitlint
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
@@ -38,4 +38,3 @@ RUN npm --location=global install \
|
|||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
ENTRYPOINT ["bash","-lc"]
|
ENTRYPOINT ["bash","-lc"]
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
|
|
||||||
|
0
scripts/ci
Normal file → Executable file
0
scripts/ci
Normal file → Executable file
0
scripts/commitlint-hook
Normal file → Executable file
0
scripts/commitlint-hook
Normal file → Executable file
0
scripts/setup-hooks
Normal file → Executable file
0
scripts/setup-hooks
Normal file → Executable file
Reference in New Issue
Block a user