diff --git a/gitpod/debian.Dockerfile b/gitpod/debian.Dockerfile index 2ba1deb..28f7264 100644 --- a/gitpod/debian.Dockerfile +++ b/gitpod/debian.Dockerfile @@ -29,7 +29,7 @@ RUN apt update \ && apt dist-upgrade -y \ && apt install -y rustc cargo \ && : "Install hadolint if not available in downstream" \ - && if ! apt-cache search hadolint | grep -qP "^hadolint -.*"; then { if command -v wget >/dev/null; then apt install -y wget; fi ;} && wget https://github.com/hadolint/hadolint/releases/download/v1.17.5/hadolint-Linux-x86_64 -O /usr/bin/hadolint && { [ ! -x hadolint ] && chmod +x /usr/bin/hadolint ;}; elif apt-cache search hadolint | grep -qP "^hadolint -.*"; then apt install -y hadolint; fi \ + && if ! apt-cache search hadolint | grep -qP "^hadolint -.*"; then { if ! command -v wget >/dev/null; then apt 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 install -y hadolint; fi \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* @@ -37,4 +37,4 @@ RUN apt update \ RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \ '# Custom' \ "ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \ - >> /etc/bash.bashrc; fi \ No newline at end of file + >> /etc/bash.bashrc; fi