mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -05:00
Fix arm-ttk path
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
fd42e54c17
commit
1137155331
2 changed files with 5 additions and 2 deletions
|
@ -398,6 +398,7 @@ ARG PSSA_VERSION='1.21.0'
|
||||||
################
|
################
|
||||||
# Set ENV vars #
|
# Set ENV vars #
|
||||||
################
|
################
|
||||||
|
ENV ARM_TTK_PSD1="/usr/lib/microsoft/arm-ttk/arm-ttk.psd1"
|
||||||
ENV IMAGE="standard"
|
ENV IMAGE="standard"
|
||||||
ENV PATH="${PATH}:/var/cache/dotnet/tools:/usr/share/dotnet"
|
ENV PATH="${PATH}:/var/cache/dotnet/tools:/usr/share/dotnet"
|
||||||
|
|
||||||
|
|
|
@ -15,5 +15,7 @@ curl --retry 5 --retry-delay 5 -sL \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||||
"${url}" | tar -xz -C /usr/lib/microsoft
|
"${url}" | tar -xz -C /usr/lib/microsoft
|
||||||
chmod a+x /usr/lib/microsoft/*/arm-ttk/arm-ttk.psd1
|
mv /usr/lib/microsoft/Azure-arm-ttk-*/arm-ttk /usr/lib/microsoft/arm-ttk
|
||||||
ln -sTf /usr/lib/microsoft/*/arm-ttk/arm-ttk.psd1 /usr/bin/arm-ttk
|
rm -rf /usr/lib/microsoft/Azure-arm-ttk-*
|
||||||
|
chmod a+x /usr/lib/microsoft/arm-ttk/arm-ttk.psd1
|
||||||
|
ln -sTf /usr/lib/microsoft/arm-ttk/arm-ttk.psd1 /usr/bin/arm-ttk
|
||||||
|
|
Loading…
Reference in a new issue