The curl command in .devcontainer/Dockerfile that should download krew fails because the file is no longer available under that URL.
Building the docker image fails at that point - see below:
[..]
---> Running in 17ae19ccdb88
++ mktemp -d
- cd /tmp/tmp.6jO9jNb4uK
++ uname
++ tr '[:upper:]' '[:lower:]'
- OS=linux
++ uname -m
++ sed -e s/x86_64/amd64/ -e 's/(arm)(64)?.*/\1\2/' -e 's/aarch64$/arm64/'
- ARCH=amd64
+ curl -fsSLO https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz
curl: (22) The requested URL returned error: 404
The command '/bin/sh -c ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/(arm)(64)?.*/\1\2/' -e 's/aarch64$/arm64/')" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" && tar zxvf krew.tar.gz && KREW=./krew-"${OS}_${ARCH}" && "$KREW" install krew ) && kubectl krew install ctx && kubectl krew install ns' returned a non-zero code: 22
Full log file:
remoteContainers-2022-03-30T16-18-32.235Z.log
The curl command in .devcontainer/Dockerfile that should download krew fails because the file is no longer available under that URL.
Building the docker image fails at that point - see below:
[..]
---> Running in 17ae19ccdb88
++ mktemp -d
++ uname
++ tr '[:upper:]' '[:lower:]'
++ uname -m
++ sed -e s/x86_64/amd64/ -e 's/(arm)(64)?.*/\1\2/' -e 's/aarch64$/arm64/'
+ curl -fsSLO https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz
curl: (22) The requested URL returned error: 404
The command '/bin/sh -c ( set -x; cd "$(mktemp -d)" && OS="$(uname | tr '[:upper:]' '[:lower:]')" && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/(arm)(64)?.*/\1\2/' -e 's/aarch64$/arm64/')" && curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" && tar zxvf krew.tar.gz && KREW=./krew-"${OS}_${ARCH}" && "$KREW" install krew ) && kubectl krew install ctx && kubectl krew install ns' returned a non-zero code: 22
Full log file:
remoteContainers-2022-03-30T16-18-32.235Z.log