natescherer / devcontainers-custom-features

A collection of features for use in Development Containers (https://containers.dev)
MIT License
5 stars 2 forks source link

`k9s` fails to download #41

Open max06 opened 9 months ago

max06 commented 9 months ago

------
 > [dev_containers_target_stage 7/8] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=k9s_2,target=/tmp/build-features-src/k9s_2     cp -ar /tmp/build-features-src/k9s_2 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/k9s_2  && cd /tmp/dev-container-features/k9s_2  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/k9s_2:
0.281 ===========================================================================
0.281 Feature       : k9s
0.281 Description   : A feature to install k9s
0.281 Id            : ghcr.io/natescherer/devcontainers-custom-features/k9s
0.281 Version       : 1.0.0
0.281 Documentation : 
0.281 Options       :
0.281     VERSION="latest"
0.281 ===========================================================================
0.619 Installing https://github.com/derailed/k9s/releases/download/v0.31.7/k9s_Linux_amd64.tar.gz https://github.com/derailed/k9s/releases/download/v0.31.7/k9s_Linux_amd64.tar.gz.sbom to /opt/k9s...
0.624 curl: (3) URL using bad/illegal format or missing URL
0.625 ERROR: Feature "k9s" (ghcr.io/natescherer/devcontainers-custom-features/k9s) failed to install!
------
Dockerfile.extended:42
--------------------
  41 |     
  42 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=k9s_2,target=/tmp/build-features-src/k9s_2 \
  43 | >>>     cp -ar /tmp/build-features-src/k9s_2 /tmp/dev-container-features \
  44 | >>>  && chmod -R 0755 /tmp/dev-container-features/k9s_2 \
  45 | >>>  && cd /tmp/dev-container-features/k9s_2 \
  46 | >>>  && chmod +x ./devcontainer-features-install.sh \
  47 | >>>  && ./devcontainer-features-install.sh \
  48 | >>>  && rm -rf /tmp/dev-container-features/k9s_2
  49 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/k9s_2 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/k9s_2  && cd /tmp/dev-container-features/k9s_2  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/k9s_2" did not complete successfully: exit code: 3

Sorry, no time for me to investigate more.

Edit: Image used:

    "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",
natescherer commented 9 months ago

Thanks for the issue! This is a known issue that I've already got a fix for, just need to push an updated release. (The k9s project changed the files included in their releases, which broke the regex I was using, if you are curious.)

New version should go out within the next day or two.

max06 commented 9 months ago

Thanks a lot ❤️

dieguini commented 1 week ago

Hey, does this has been resolved?