Skip to content

features that depend upon features (composite features) #109

Description

Heya!

I'm a keen user of dapr. I generally do this in the context of a devcontainer. I'm interested in how to migrate to doing the same using features. If I read things right, I need to use the docker-in-docker feature. On top of that I think I'd need to have some kind of dapr feature which would contain something like this:

RUN apt-get update \
    && apt-get install python3-pip -y \
    # Install Dapr
    && wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash \
    # Clean up
    && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* 

# Add daprd to the path for the VS Code Dapr extension.
ENV PATH="${PATH}:/home/${USERNAME}/.dapr/bin"

I'm guessing that there's some way to have "dependencies" for features? So the dapr feature would depend upon docker-in-docker. Am I headed in the right direction here? Or am I ... not?

It's possible that this is related: devcontainers/cli#163

Metadata

Metadata

Assignees

Labels

proposalStill under discussion, collecting feedback

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions