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

Adding dependencies that are required to work #1807

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ git clone [email protected]:chainguard-dev/melange-php-demos.git
cd melange-php-demos/hello-minicli
```

Run the following command, which will use the official Composer image to generate a composer.json file and download minicli/minicli:

```shell
docker run --rm -it -v "${PWD}":/app composer require minicli/minicli
```

Once you receive confirmation that the download was completed, we'll need a second dependency to query the advice slip API. Run the following command to include minicli/curly, a simple curl wrapper for Minicli:

```shell
docker run --rm -it -v "${PWD}":/app composer require minicli/curly
```

Now you can run the application to make sure it's functional. You can do that using Docker and Chainguard's PHP image:

```shell
Expand Down