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

Avoid errors when symfony-cli installation #1

Open
Abdou741 opened this issue Mar 31, 2023 · 0 comments
Open

Avoid errors when symfony-cli installation #1

Abdou741 opened this issue Mar 31, 2023 · 0 comments

Comments

@Abdou741
Copy link

Hi,
Good work ! 👍

RUN curl -sS https://get.symfony.com/cli/installer | bash
RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony

Return that (In my tests) :

 => ERROR [stage-1 15/16] RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony                                                                                                                          0.6s
------
 > [stage-1 15/16] RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony:
#0 0.536 mv: cannot stat '/root/.symfony/bin/symfony': No such file or directory
------
failed to solve: executor failed running [/bin/sh -c mv /root/.symfony/bin/symfony /usr/local/bin/symfony]: exit code: 1

Maybe better with this remplacment for avoid errors :

RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash
RUN apt install symfony-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant