Skip to content

Commit ed1a7b7

Browse files
github-actions[bot]megalinter-bot
authored andcommitted
[build-command] Update generated files
1 parent f17e40a commit ed1a7b7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,9 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
626626
# Managed with COPY --link --from=checkmake /checkmake /usr/bin/checkmake
627627

628628
# perlcritic installation
629-
&& curl --retry 5 --retry-delay 5 -sL https://cpanmin.us/ | perl - -nq --no-wget Perl::Critic
629+
&& curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
630+
&& rm -rf /root/.perl-cpm
631+
630632

631633
# phpcs installation
632634
RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_AUTH_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" && export GITHUB_AUTH_TOKEN && phive --no-progress install phpcs -g --trust-gpg-keys 31C7E470E2138192

linters/perl_perlcritic/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
124124
#############################################################################################
125125
#OTHER__START
126126
# perlcritic installation
127-
RUN curl --retry 5 --retry-delay 5 -sL https://cpanmin.us/ | perl - -nq --no-wget Perl::Critic
127+
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
128+
&& rm -rf /root/.perl-cpm
129+
128130

129131
#OTHER__END
130132

0 commit comments

Comments
 (0)