Josh Spicer

Results 173 comments of Josh Spicer

Hey there! This repo utilizes a GitHub action [following these steps in the README](https://github.com/devcontainers/feature-starter?tab=readme-ov-file#publishing) for publishing. We also provide [this guide](https://containers.dev/guide/author-a-feature), although the steps are quite similar. "Under the hood"...

Those functions are only available when running a test with the `devcontainer features test ...` command. You can include those functions by adding `source dev-container-features-test-lib` to the top of your...

Sounds good to me. The intention of this repo is for folks to use is as a template and edit as they please. Encouraging quicker feedback by running the test...

In the `docker-in-docker` Feature, we write a script to `/usr/local/share` in the Feature's `install.sh` script, and then execute it as the `entrypoint` (https://github.com/devcontainers/features/blob/main/src/docker-in-docker/devcontainer-feature.json#L49). Would that work?

Ah sorry I missed the 'secret' portion of this. Version 0.32.0+ of the dev container CLI will respect lifecycle hooks in Features. Over the next day or so, we'll be...

Thanks for the issue. This is a known limitation for how the test command is implemented in the CLI. I've opened an issue on the CLI to track this.

Thanks for the nudge @avidal, this is definitely something I still want us to move forward with. I'll give this spec's comments another pass right now

@samruddhikhandale This seems useful for a lot the Features in the `devcontainers/features` repo, no?

Hey 👋 Thanks for highlighting this. As you discovered, the Dev Container CLI should be able to auto-detect and publish a single Feature if the repository is structured as such...