Skip to content

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

Description

@mischapedia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions