sdghsdf
This commit is contained in:
parent
dcae2fa992
commit
460ae8b48f
@ -2,6 +2,7 @@ ignored:
|
||||
- DL3007 # Usage of latest version is expected
|
||||
- DL3008 # Pinning specific version on apt is not sane
|
||||
- DL3015 # We don't mind recommended packages
|
||||
- DL4001 # Allow usage of curl and wget
|
||||
- DL4006 # False-trigger on /bin/sh usage?
|
||||
|
||||
trustedRegistries:
|
||||
|
@ -25,6 +25,7 @@ RUN apt-get update \
|
||||
&& apt-get install -y rustc cargo pkg-config \
|
||||
&& : "Install hadolint if not available in downstream" \
|
||||
&& if ! apt-cache search hadolint | grep -qP "^hadolint -.*"; then { if ! command -v wget >/dev/null; then apt-get install -y wget; fi ;} && wget https://github.com/hadolint/hadolint/releases/download/v1.17.5/hadolint-Linux-x86_64 -O /usr/bin/hadolint && { [ ! -x /usr/bin/hadolint ] && chmod +x /usr/bin/hadolint ;}; elif apt-cache search hadolint | grep -qP "^hadolint -.*"; then apt-get install -y hadolint; fi \
|
||||
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user