What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi all, I am trying to setup existing project in spryker. During `docker/sdk up` I got following err
Hi all,
I am trying to setup existing project in spryker.
During docker/sdk up
I got following error while installing dependencies from composer:
Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested PHP extension ext-xsl * is missing from your system. Install or enable PHP's xsl extension.
Any suggestion how to enable this extension inside docker ?
Thanks
Comments
-
The only way is to prepare your own docker image base on spyker/php one, install extension here, publish somewhere (e.g. docker hub) and use tag in your deploy.yml.
E.g.
Dockerfile
FROM spryker/php:7.3-alpine3.12 # Install extension here RUN ...
Build and push docker image.
Use in your all deploy.yamls
image: tag: mycompany/myimage:7.3
0 -
Or reconsider using xsl extension. π
0 -
I tried with Dockerfile. Added following lines but not working, it does not show even in console that is installing xsl extension
FROM spryker/php:7.3-alpine3.12 RUN docker-php-ext-install xsl
0 -
What command do you use to build the image?
0 -
docker/sdk bootstrap deploy.dev.yml
0 -
No. No. It wonβt work that way.
0 -
I'm using this image:
image: spryker/php:7.2-alpine3.10
0 -
it should be
docker build -f path-to-your-docker-file -t myphpimage path-to-folder-with-your-docker-file
0 -
Then
docker push
https://docs.docker.com/engine/reference/commandline/push/0 -
And then after it is public -
image: mycompany/php:7.3 # your public tag
0 -
So the only way is to build image, install extensions, publish somewere and then use it
0 -
Yes
0 -
Thanks π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random