Comments (9)
Okay, thank you for your support
from laravel-roadrunner-in-docker.
Hi @NguyenDinhKhoi!
What do you use as your environment? WSL, VirtualBox, or something else?
ps. I have no windows for the tests, Linux is my default OS for about seven years now...
from laravel-roadrunner-in-docker.
Hi @tarampampam !
Thank you for replying, I install docker on the windows with WSL, and run it
from laravel-roadrunner-in-docker.
Could you please provide more details? Your commands, full errors log, docker and docker-compose versions?
from laravel-roadrunner-in-docker.
Docker: Docker version 20.10.8, build 3967b7d
Docker-compose : docker-compose version 1.29.2, build 5becea4c
Errors log:
+ pecl install -o redis
ERROR: Service 'app' failed to build : The command '/bin/sh -c set -x && apk add --no-cache postgresql-libs icu-libs && apk add --no-cache --virtual .build-deps postgresql-dev autoconf openssl make g++ && docker-php-ext-install -j$(nproc) pdo_pgsql sockets opcache pcntl intl 1>/dev/null && pecl install -o redis 1>/dev/null && echo 'extension=redis.so' > ${PHP_INI_DIR}/conf.d/redis.ini && wget -q "https://github.com/aptible/supercronic/releases/download/v0.1.12/supercronic-linux-amd64" -O /usr/bin/supercronic && chmod +x /usr/bin/supercronic && mkdir /etc/supercronic && echo '*/1 * * * * php /app/artisan schedule:run' > /etc/supercronic/laravel && openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -subj "/C=CA/ST=QC/O=Company, Inc./CN=mydomain.com" -addext "subjectAltName=DNS:mydomain.com" -keyout /etc/ssl/private/selfsigned.key -out /etc/ssl/certs/selfsigned.crt && chmod 644 /etc/ssl/private/selfsigned.key && docker-php-source delete && apk del .build-deps && rm -R /tmp/pear && echo -e "\nopcache.enable=1\nopcache.enable_cli=1\nopcache.jit_buffer_size=32M\nopcache.jit=1235\n" >> ${PHP_INI_DIR}/conf.d/docker-php-ext-opcache.ini && php -m && adduser --disabled-password --shell "/sbin/nologin" --home "/nonexistent" --no-create-home --uid "10001" --gecos "" "appuser" && mkdir /app /var/run/rr && chown -R appuser:appuser /app /var/run/rr && chmod -R 777 /var/run/rr' returned a non-zero code: 1
make: *** [Makefile:17: install] Error 1**
I have install "make" command and run directly on windows
from laravel-roadrunner-in-docker.
It looks like a pecl
issue... Can you replace the line:
laravel-roadrunner-in-docker/Dockerfile
Line 45 in 33ea65d
With
&& pecl install -o redis \
And show me the logs (all lines after the + pecl install -o redis
in your logs) again?
from laravel-roadrunner-in-docker.
I have created a virtual ubuntu machine and install 'pecl' and 'make' command then it works perfectly, thank for your support; In addition, can roadrunner run with multiversion php ?, i want to contain several projects with different php version in container ( php >=7.0 ). Is it possibe like virtual host in apache ?
from laravel-roadrunner-in-docker.
Usually, the roadrunner is used for a single project with a specific PHP version. If you want to run many applications - you can build and run them in separate docker containers (with a reverse proxy server like a Traefik, Nginx, or HAProxy in front of them, if you want, of course).
from laravel-roadrunner-in-docker.
This issue can be closed?
from laravel-roadrunner-in-docker.
Related Issues (20)
- Error page not working on Laravel 9 HOT 6
- Can't build image HOT 2
- make test-cover ERROR: 1 HOT 2
- Update RR to 2.9.4
- Question: How add command to Makefile for restart only app & queue HOT 3
- Web app startup error: WorkerAllocate: context deadline exceeded HOT 3
- Error after command "make install" HOT 3
- Example use Temporal worker laravel
- define domain HOT 5
- make test-cover: su: unknown user <local username> HOT 4
- Command `make init` failing HOT 2
- do this work with livewire
- `make up` does not work HOT 2
- Roadrunner is trying to serve file instead of going to route HOT 1
- using dump() in source code doesn't print out anything HOT 2
- make install does not work HOT 8
- poor peformance vs nginx HOT 6
- Add helm charts for running in k8s
- [Request] - Lumen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-roadrunner-in-docker.