Skip to content

feat(docker): add Symfony CLI in php image #826

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

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
ENV XDEBUG_MODE=off
ENV FRANKENPHP_WORKER_CONFIG=watch

RUN curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | bash

Check failure on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker Lint

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
RUN apt install symfony-cli

Check failure on line 64 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker Lint

DL3027 warning: Do not use apt as it is meant to be a end-user tool, use apt-get or apt-cache instead

RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"

Check failure on line 66 in Dockerfile

View workflow job for this annotation

GitHub Actions / Docker Lint

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

RUN set -eux; \
install-php-extensions \
Expand Down