Comments (3)
Dockerize is not getting PHP/Python/JS apps standalone, its only getting binary apps standalone inside a Docker container. In fact it is resolving the ldd links, adding the libs inside the container, then the executable and extra suff (see /etc
).
So in your build chain you would need something like PHP app > PHP packager > Dockerize
.
from dockerize.
Dockerize was only ever meant to resolve binary dependencies. There are other tools for describing and packaging the dependencies of interpreted languages like php, python, etc.
from dockerize.
This is exactly what I did. I used dockerize to package the PHP binary and wrote a bit extra to resolve for PHP's *.so extension dependencies. Not to package PHP applications
For example Dockerize is used on the php binary to resolve its dependencies, however when running PHP it loads extensions, such as the MySQL extension which provides MySQL bindings to the PHP intepreter. I added some bashfoo to find those extensions and their dependencies.
from dockerize.
Related Issues (14)
- dockerize a python pip dependency.
- nice to haves
- AttributeError: 'int' object has no attribute 'isdigit' HOT 5
- Does not work on Windows HOT 1
- Executable run in command line but dockerize fails: cannot open shared object file: No such file or directory HOT 1
- Install instructions? HOT 4
- [Feature Request]: Add ability to pass environment variables
- dockerize do not recognize dependencies on debian HOT 1
- support podman/buildah beside docker HOT 1
- Open Source Licenses? HOT 1
- Error when trying to dockerize HOT 2
- any plans for a versioned release? HOT 3
- Workingdir HOT 2
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 dockerize.