Coder Social home page Coder Social logo

Solved runtime dependencies about dockerize HOT 3 CLOSED

larsks avatar larsks commented on June 16, 2024
Solved runtime dependencies

from dockerize.

Comments (3)

Clement-TS avatar Clement-TS commented on June 16, 2024

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.

larsks avatar larsks commented on June 16, 2024

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.

khusseini avatar khusseini commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.