Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL to latest krew.tar.gz is no longer valid #52

Open
mischapedia opened this issue Mar 30, 2022 · 0 comments
Open

URL to latest krew.tar.gz is no longer valid #52

mischapedia opened this issue Mar 30, 2022 · 0 comments

Comments

@mischapedia
Copy link

mischapedia commented Mar 30, 2022

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

@mischapedia mischapedia changed the title path to latest krew.tar.gz is no longer valid URL to latest krew.tar.gz is no longer valid Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant