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, short Question: using docker/sdk, I want to include xsl module in the spryker container. How can
Hi, short Question: using docker/sdk, I want to include xsl module in the spryker container. How can this be done in a persistent way? I can do this on the fly after the container is running (apk add libxslt-dev / docker-php-ext-install xsl) , but I hoped there is some way to do this, using deploy.yml or so? So that I can persist this feature in my code and use "vanilla docker/sdk"
Comments
-
I would advise you not to use spryker βsupportedβ docker, as it is nightmare to change something there.
It is quite easy to build everything from scratch.
It is very weird, that instead of docker-compose templates and properly built base images Spryker is creating some kind of scripting & generation for it.
E.g. introducing state to the images, which should be stateless
0 -
But regarding your question, I would look in one of or all of them:
0 -
Hi Janis, many thanks for your input. We already found these Dockerfiles and wanted to understand how and when they are used, since they are not used everytime ;/. In the deploy shell script which is called by docker/sdk up there is a spot in the template for this file where for example the Dockerfile in images/base_app will be used. But we didnt understand when this parti is inserted in the deploy file. So I hoped there is a spot in deploy.yml to set this trigger.
0 -
Hi Ulrich,
in your case you can create docker-hub image based on spryker one and point it in deploy.yml.
0 -
0
-
I would suggest to transform you critic into requirements of what are you willing to customize in docker/sdk setup. It would be awesome to have the list of customization point you want to add.
And that was a reason to have setup be generated, mostly due to multi-store concept.
0 -
The actions to perform to solve your issue:
1. Create github repo
2. CreateDockerfile
- Register builds in docker hub base on the github repo
- Change deploy.yml:
docker/sdk bootstrap
0 -
@ULYHPR789 many thanks, this was easy after your Tip, and workes great π
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
- 929 Developer Corner
- 787 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