magento / magento/magento-cloud-docker

Latest releases no longer include init-docker.sh as asset (Again)

Open
#376 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
277
Forks
187
PR merge metrics
No merged PRs in 30d

Description

### Preconditions

1. Local development environment without PHP installed locally.
2. Using the latest release: 1.4.2

### Steps to reproduce

1. Follow the documentation: https://developer.adobe.com/commerce/cloud-tools/docker/setup/initialize-docker/#update-the-hosts-file-and-install-dependencies
2. Execute command changing the version to latest (1.4.2): curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.4.2/init-docker.sh | bash -s -- --php 8.2

### Expected result

1. Install the template dependencies and add the default hostname to /etc/hosts

### Actual result

1. Curl fails: [Error](bash: line 1: Not: command not found) (Missing init-docker.sh script on release download assets)

### Additional Information
A related issue was already solved, but only for older versions: https://github.com/magento/magento-cloud-docker/issues/356. Maybe the process to create the init-docker.sh artifact is broken?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the assets published for release 1.4.2 and the process that creates the init-docker.sh artifact, then compare with the related issue 356. Re-run the documented curl command; the work is done when init-docker.sh is available from the release download and the command installs the template dependencies and updates /etc/hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.