From 061bab0a585e30582e212bae35f1ca49e80b8e5f Mon Sep 17 00:00:00 2001 From: Florian Rey Date: Mon, 16 Sep 2024 09:35:02 +0200 Subject: [PATCH] [All] Use fail curl arg --- .../.manala/docker/Dockerfile.tmpl | 4 +- lazy.ansible/.manala/docker/Dockerfile.tmpl | 16 +++---- .../.manala/docker/Dockerfile.tmpl | 46 +++++++++---------- lazy.symfony/.manala/docker/Dockerfile.tmpl | 26 +++++------ 4 files changed, 46 insertions(+), 46 deletions(-) diff --git a/elao.app.docker/.manala/docker/Dockerfile.tmpl b/elao.app.docker/.manala/docker/Dockerfile.tmpl index f30fccae..afbe95a8 100644 --- a/elao.app.docker/.manala/docker/Dockerfile.tmpl +++ b/elao.app.docker/.manala/docker/Dockerfile.tmpl @@ -44,7 +44,7 @@ RUN \ # Openssl packages are broken on buster/arm64, install them from bullseye # See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989604 && if [ "$(dpkg --print-architecture)" = "arm64" ]; then \ - curl -sSL "http://snapshot.debian.org/archive/debian/20210827T161311Z/pool/main/o/openssl/{openssl,libssl1.1}_1.1.1k-1%2Bdeb11u1_arm64.deb" \ + curl -sSLf "http://snapshot.debian.org/archive/debian/20210827T161311Z/pool/main/o/openssl/{openssl,libssl1.1}_1.1.1k-1%2Bdeb11u1_arm64.deb" \ --output /var/cache/apt/archives/#1.deb \ && dpkg --install \ /var/cache/apt/archives/openssl.deb \ @@ -59,7 +59,7 @@ RUN \ {{ if .goss.version -}} # Goss RUN \ - curl -sSL "https://github.com/goss-org/goss/releases/download/v{{ .goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/goss-org/goss/releases/download/v{{ .goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/goss \ && chmod +x /usr/local/bin/goss diff --git a/lazy.ansible/.manala/docker/Dockerfile.tmpl b/lazy.ansible/.manala/docker/Dockerfile.tmpl index a6c8e347..dc678491 100644 --- a/lazy.ansible/.manala/docker/Dockerfile.tmpl +++ b/lazy.ansible/.manala/docker/Dockerfile.tmpl @@ -48,23 +48,23 @@ RUN \ && install --verbose --mode 0755 --group lazy --owner lazy --directory /run/user/${MANALA_USER_ID} \ && echo "lazy ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/lazy \ # Gosu - && curl -sSL "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \ # Gomplate - && curl -sSL "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gomplate \ && chmod +x /usr/local/bin/gomplate \ # Direnv - && curl -sSL "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/direnv \ && chmod +x /usr/local/bin/direnv \ # Jq - && curl -sSL "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/jq \ && chmod +x /usr/local/bin/jq \ # Yq - && curl -sSL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/yq \ && chmod +x /usr/local/bin/yq \ # Bash completion @@ -105,7 +105,7 @@ RUN \ {{ if .Vars.system.docker -}} # Docker RUN \ - curl -sSL https://download.docker.com/linux/debian/gpg \ + curl -sSLf https://download.docker.com/linux/debian/gpg \ --output /etc/apt/keyrings/docker.asc \ && printf "\ Types: deb\n\ @@ -126,7 +126,7 @@ Signed-By: /etc/apt/keyrings/docker.asc\n\ {{ if $goss.version -}} # Goss RUN \ - curl -sSL "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/goss \ && chmod +x /usr/local/bin/goss @@ -191,7 +191,7 @@ RUN \ {{ if $terraform.version -}} # Terraform RUN \ - curl -sSL "https://releases.hashicorp.com/terraform/{{ $terraform.version }}/terraform_{{ $terraform.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ + curl -sSLf "https://releases.hashicorp.com/terraform/{{ $terraform.version }}/terraform_{{ $terraform.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ | bsdtar -xvf - -C /usr/local/bin \ && chmod +x /usr/local/bin/terraform \ # Bash completion diff --git a/lazy.kubernetes/.manala/docker/Dockerfile.tmpl b/lazy.kubernetes/.manala/docker/Dockerfile.tmpl index 3bd252f7..24fbcf67 100644 --- a/lazy.kubernetes/.manala/docker/Dockerfile.tmpl +++ b/lazy.kubernetes/.manala/docker/Dockerfile.tmpl @@ -48,23 +48,23 @@ RUN \ && install --verbose --mode 0755 --group lazy --owner lazy --directory /run/user/${MANALA_USER_ID} \ && echo "lazy ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/lazy \ # Gosu - && curl -sSL "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \ # Gomplate - && curl -sSL "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gomplate \ && chmod +x /usr/local/bin/gomplate \ # Direnv - && curl -sSL "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/direnv \ && chmod +x /usr/local/bin/direnv \ # Jq - && curl -sSL "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/jq \ && chmod +x /usr/local/bin/jq \ # Yq - && curl -sSL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/yq \ && chmod +x /usr/local/bin/yq \ # Bash completion @@ -95,7 +95,7 @@ RUN \ {{- end }} # Vim Gnupg && install --verbose --mode 0755 --directory /usr/share/vim/vimfiles/pack/plugins/start/vim-gnupg \ - && curl -sSL https://github.com/jamessan/vim-gnupg/releases/download/v${VIM_GNUPG_VERSION}/vim-gnupg-v${VIM_GNUPG_VERSION}.tar.gz \ + && curl -sSLf https://github.com/jamessan/vim-gnupg/releases/download/v${VIM_GNUPG_VERSION}/vim-gnupg-v${VIM_GNUPG_VERSION}.tar.gz \ | bsdtar -xvf - -C /usr/share/vim/vimfiles/pack/plugins/start/vim-gnupg --strip-components=1 vim-gnupg-${VIM_GNUPG_VERSION} \ && echo "let g:GPGPreferSymmetric = 1" >> /etc/vim/vimrc \ # Clean @@ -104,7 +104,7 @@ RUN \ {{ if .Vars.system.docker -}} # Docker RUN \ - curl -sSL https://download.docker.com/linux/debian/gpg \ + curl -sSLf https://download.docker.com/linux/debian/gpg \ --output /etc/apt/keyrings/docker.asc \ && printf "\ Types: deb\n\ @@ -125,7 +125,7 @@ Signed-By: /etc/apt/keyrings/docker.asc\n\ {{ if $goss.version -}} # Goss RUN \ - curl -sSL "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/goss \ && chmod +x /usr/local/bin/goss @@ -134,7 +134,7 @@ RUN \ # Kubectl {{ $kubectl := .Vars.system.kubectl -}} RUN \ - curl -sSL "https://storage.googleapis.com/kubernetes-release/release/v{{ $kubectl.version }}/bin/linux/{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}/kubectl" \ + curl -sSLf "https://storage.googleapis.com/kubernetes-release/release/v{{ $kubectl.version }}/bin/linux/{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}/kubectl" \ --output /usr/local/bin/kubectl \ && chmod +x /usr/local/bin/kubectl \ # Bash completion @@ -150,7 +150,7 @@ complete -F __start_kubectl k\n\ # Helm ENV HELM_PLUGINS="/usr/local/share/helm/plugins" RUN \ - curl -sSL "https://get.helm.sh/helm-v{{ $helm.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://get.helm.sh/helm-v{{ $helm.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin --strip-components=1 "linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}/helm" \ # Bash completion && helm completion bash > /etc/bash_completion.d/helm \ @@ -177,7 +177,7 @@ complete -F __start_helm h\n\ # Helmfile ENV HELMFILE_UPGRADE_NOTICE_DISABLED="1" RUN \ - curl -sSL "https://github.com/helmfile/helmfile/releases/download/v{{ $helmfile.version }}/helmfile_{{ $helmfile.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://github.com/helmfile/helmfile/releases/download/v{{ $helmfile.version }}/helmfile_{{ $helmfile.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin helmfile \ # Bash completion && helmfile completion bash > /etc/bash_completion.d/helmfile \ @@ -195,7 +195,7 @@ complete -F __start_helmfile hfi\n\ {{ if $k9s.version -}} # K9s RUN \ - curl -sSL "https://github.com/derailed/k9s/releases/download/v{{ $k9s.version }}/k9s_Linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://github.com/derailed/k9s/releases/download/v{{ $k9s.version }}/k9s_Linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin k9s {{ end -}} @@ -204,7 +204,7 @@ RUN \ {{ if $stern.version -}} # Stern RUN \ - curl -sSL "https://github.com/stern/stern/releases/download/v{{ $stern.version }}/stern_{{ $stern.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://github.com/stern/stern/releases/download/v{{ $stern.version }}/stern_{{ $stern.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin stern \ # Bash completion && stern --completion=bash > /etc/bash_completion.d/stern @@ -215,7 +215,7 @@ RUN \ {{ if $kubePrompt.version -}} # Kube Prompt RUN \ - curl -sSL "https://github.com/c-bata/kube-prompt/releases/download/v{{ $kubePrompt.version }}/kube-prompt_v{{ $kubePrompt.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ + curl -sSLf "https://github.com/c-bata/kube-prompt/releases/download/v{{ $kubePrompt.version }}/kube-prompt_v{{ $kubePrompt.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ | bsdtar -xvf - -C /usr/local/bin \ && chmod +x /usr/local/bin/kube-prompt @@ -225,7 +225,7 @@ RUN \ {{ if $popeye.version -}} # Popeye RUN \ - curl -sSL "https://github.com/derailed/popeye/releases/download/v{{ $popeye.version }}/popeye_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://github.com/derailed/popeye/releases/download/v{{ $popeye.version }}/popeye_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin popeye {{ end -}} @@ -234,7 +234,7 @@ RUN \ {{ if $knsk.version -}} # Knsk RUN \ - curl -sSL https://github.com/thyarles/knsk/archive/refs/tags/v{{ $knsk.version }}.tar.gz \ + curl -sSLf https://github.com/thyarles/knsk/archive/refs/tags/v{{ $knsk.version }}.tar.gz \ | bsdtar -xvf - -C /usr/local/bin --strip-components=1 knsk-{{ $knsk.version }}/knsk.sh {{ end -}} @@ -243,7 +243,7 @@ RUN \ {{ if $vault.version -}} # Vault RUN \ - curl -sSL "https://releases.hashicorp.com/vault/{{ $vault.version }}/vault_{{ $vault.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ + curl -sSLf "https://releases.hashicorp.com/vault/{{ $vault.version }}/vault_{{ $vault.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ | bsdtar -xvf - -C /usr/local/bin \ && chmod +x /usr/local/bin/vault \ # Bash completion @@ -255,7 +255,7 @@ RUN \ {{ if $rclone.version -}} # Rclone RUN \ - curl -sSL "https://downloads.rclone.org/v{{ $rclone.version }}/rclone-v{{ $rclone.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ + curl -sSLf "https://downloads.rclone.org/v{{ $rclone.version }}/rclone-v{{ $rclone.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.zip" \ | bsdtar -xvf - -C /usr/local/bin --strip-components=1 "rclone-v{{ $rclone.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}/rclone" \ && chmod +x /usr/local/bin/rclone \ # Bash completion @@ -315,7 +315,7 @@ RUN \ {{ if $scw.version -}} # Scaleway cli RUN \ - curl -sSL "https://github.com/scaleway/scaleway-cli/releases/download/v{{ $scw.version }}/scaleway-cli_{{ $scw.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/scaleway/scaleway-cli/releases/download/v{{ $scw.version }}/scaleway-cli_{{ $scw.version }}_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/scw \ && chmod +x /usr/local/bin/scw \ # Bash completion @@ -327,7 +327,7 @@ RUN \ {{ if $sops.version -}} # Sops RUN \ - curl -sSL "https://github.com/mozilla/sops/releases/download/v{{ $sops.version }}/sops-v{{ $sops.version }}.linux.{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/mozilla/sops/releases/download/v{{ $sops.version }}/sops-v{{ $sops.version }}.linux.{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/sops \ && chmod +x /usr/local/bin/sops @@ -340,7 +340,7 @@ RUN \ apt-get --quiet update \ && apt-get --quiet --yes --no-install-recommends --verbose-versions install \ groff \ - && curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-{{ include "arch_map" (dict "amd64" "x86_64" "arm64" "aarch64") }}-{{ $aws.version }}.zip" \ + && curl -sSLf "https://awscli.amazonaws.com/awscli-exe-linux-{{ include "arch_map" (dict "amd64" "x86_64" "arm64" "aarch64") }}-{{ $aws.version }}.zip" \ --output aws.zip \ && bsdtar -xvf aws.zip \ && aws/install \ @@ -364,7 +364,7 @@ RUN \ apt-get --quiet update \ && apt-get --quiet --yes --no-install-recommends --verbose-versions install \ python3 \ - && curl -sSL "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-{{ $gcloud.version }}-linux-{{ include "arch_map" (dict "amd64" "x86_64" "arm64" "arm") }}.tar.gz" \ + && curl -sSLf "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-{{ $gcloud.version }}-linux-{{ include "arch_map" (dict "amd64" "x86_64" "arm64" "arm") }}.tar.gz" \ | bsdtar -xf - -C /usr/local \ # Profile && touch /etc/profile.d/gcloud.sh \ @@ -386,7 +386,7 @@ RUN \ {{ if $age.version -}} # Age RUN \ - curl -sSL "https://github.com/FiloSottile/age/releases/download/v{{ $age.version }}/age-v{{ $age.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + curl -sSLf "https://github.com/FiloSottile/age/releases/download/v{{ $age.version }}/age-v{{ $age.version }}-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin --strip-components=1 age/age age/age-keygen {{ end -}} diff --git a/lazy.symfony/.manala/docker/Dockerfile.tmpl b/lazy.symfony/.manala/docker/Dockerfile.tmpl index 4d38e252..e3868e13 100644 --- a/lazy.symfony/.manala/docker/Dockerfile.tmpl +++ b/lazy.symfony/.manala/docker/Dockerfile.tmpl @@ -48,23 +48,23 @@ RUN \ && install --verbose --mode 0755 --group lazy --owner lazy --directory /run/user/${MANALA_USER_ID} \ && echo "lazy ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/lazy \ # Gosu - && curl -sSL "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \ # Gomplate - && curl -sSL "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/gomplate \ && chmod +x /usr/local/bin/gomplate \ # Direnv - && curl -sSL "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/direnv/direnv/releases/download/v${DIRENV_VERSION}/direnv.linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/direnv \ && chmod +x /usr/local/bin/direnv \ # Jq - && curl -sSL "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/jqlang/jq/releases/download/jq-${JQ_VERSION}/jq-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/jq \ && chmod +x /usr/local/bin/jq \ # Yq - && curl -sSL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + && curl -sSLf "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/yq \ && chmod +x /usr/local/bin/yq \ # Bash completion @@ -93,7 +93,7 @@ RUN \ {{ if .Vars.system.docker -}} # Docker RUN \ - curl -sSL https://download.docker.com/linux/debian/gpg \ + curl -sSLf https://download.docker.com/linux/debian/gpg \ --output /etc/apt/keyrings/docker.asc \ && printf "\ Types: deb\n\ @@ -114,7 +114,7 @@ Signed-By: /etc/apt/keyrings/docker.asc\n\ {{ if $goss.version -}} # Goss RUN \ - curl -sSL "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ + curl -sSLf "https://github.com/goss-org/goss/releases/download/v{{ $goss.version }}/goss-linux-{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}" \ --output /usr/local/bin/goss \ && chmod +x /usr/local/bin/goss @@ -123,7 +123,7 @@ RUN \ # Nginx {{ $nginx := .Vars.system.nginx -}} RUN \ - curl -sSL http://nginx.org/keys/nginx_signing.key \ + curl -sSLf http://nginx.org/keys/nginx_signing.key \ --output /etc/apt/keyrings/nginx.asc \ && printf "\ Types: deb\n\ @@ -146,7 +146,7 @@ Pin-Priority: 1000\n\ # Php {{ $php := .Vars.system.php -}} RUN \ - curl -sSL https://packages.sury.org/php/apt.gpg \ + curl -sSLf https://packages.sury.org/php/apt.gpg \ --output /etc/apt/keyrings/sury_php.gpg \ && printf "\ Types: deb\n\ @@ -176,10 +176,10 @@ Signed-By: /etc/apt/keyrings/sury_php.gpg\n\ && update-alternatives --install /usr/sbin/php-fpm php-fpm /usr/sbin/php-fpm{{ $php.version }} 1 \ && update-alternatives --install /etc/php/default php-config-default /etc/php/{{ $php.version }} 1 \ # Composer - && curl -sSL https://getcomposer.org/installer \ + && curl -sSLf https://getcomposer.org/installer \ | php -- --install-dir /usr/local/bin --filename composer \ # Symfony - && curl -sSL "https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ + && curl -sSLf "https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_{{ include "arch_map" (dict "amd64" "amd64" "arm64" "arm64") }}.tar.gz" \ | bsdtar -xvf - -C /usr/local/bin symfony \ # Clean && rm -rf /var/lib/apt/lists/* @@ -188,7 +188,7 @@ Signed-By: /etc/apt/keyrings/sury_php.gpg\n\ {{ if $nodejs.version -}} # Nodejs RUN \ - curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key \ + curl -sSLf https://deb.nodesource.com/gpgkey/nodesource.gpg.key \ --output /etc/apt/keyrings/nodesource.asc \ && printf "\ Types: deb\n\ @@ -202,7 +202,7 @@ Package: nodejs\n\ Pin: origin deb.nodesource.com\n\ Pin-Priority: 1000\n\ " > /etc/apt/preferences.d/nodejs \ - && curl -sSL https://dl.yarnpkg.com/debian/pubkey.gpg \ + && curl -sSLf https://dl.yarnpkg.com/debian/pubkey.gpg \ --output /etc/apt/keyrings/yarn.asc \ && printf "\ Types: deb\n\