Comments (6)
Python is available mostly as a dependency to scripts and tools.
If you want to link something against Python during the build process, you should likely use the Python buildpack. That said, I would like to learn more about your use case to know if this is a reasonable suggestion.
from base-images.
Yup, could you please explain the use case?
Generally, if your application relies on Python or Perl, those should be installed using a buildpack, and then the corresponding headers will usually be available.
from base-images.
This is probably not a use case you would be likely to support, but I'm trying to compile vim and create a tarball that I can drop into the runtime image and run. Sometimes, you just need to debug stuff on a live environment.
The python and perl headers are to make sure all the vim plugins are supported. I can download them myself, but bundling them would save me a step
from base-images.
The problem with including those packages is also that you won't be able to specify their version. We would be using the version provided by Ubuntu, doing security upgrades if necessary. But that wouldn't be the latest version.
The best way to achieve this is probably to install the package in your own vim buildpack. You can then have the versions you want and upgrade as you need.
from base-images.
Yes, but if I don't use the version in the runtime image and bundle my own, I'm going to be responsible for upgrading those packages myself. Not to mention the extra linker config I'll need to put in. I'm too lazy for that
Using a buildpack also means I have to plan ahead include it in whichever project may need it, whereas having a tarball lets me unzip and run on any project. I also don't want vim in my live environment unless I'm debugging
I probably should have mentioned this earlier, but this is what inspired me to do this https://gist.github.com/sfate/2889158
In any case, this is not a huge inconvenience and I'm happy to work with what is currently available. Thanks for looking into this
from base-images.
@i8-pi, if you only need the packages (in the build image) temporarily to produce your own binaries for the runtime image, I suggest you use Docker locally to build it. Then you can easily install the headers so they're available for compilation and then the binaries should run perfectly on the platform.
from base-images.
Related Issues (20)
- Question: Heroku-20 general release date HOT 4
- ImageMagick default resource limits are surprisingly low HOT 5
- Installation of gettext fails on heroku-20; heroku-18 is fine HOT 5
- Postgres 13
- The Heroku-20-Build Ruby version does not match the Heroku Platform Ruby. HOT 3
- ARM64 support for image HOT 20
- How does one use Heroku-20 stack for local development WITH the same ruby/bundler versions as Heroku defaults to HOT 5
- ImageMagick "area" resource limit should be in pixels ? HOT 3
- `SSL_read: unexpected eof while reading` using `redis-rb` on Heroku-22 HOT 3
- heroku/heroku:22 doesn't download standard library HOT 1
- Stack 22 breaks azure cognitive services package HOT 2
- env PYTHONHOME trigger import error HOT 1
- Deprecated usage of apt-key.
- Add missing CNB Labels
- Update BUILD.md with multi-arch / heroku-24 info
- Duplicate APT sources warning when using APT on Heroku-24 HOT 3
- Reduce size of Heroku-24 run and build images HOT 2
- Heroku-24: Implications of the switch to separate Linux users for build vs run images HOT 10
- Stable tags for heroku/heroku:24 architecture variants HOT 2
- Heroku-24: Custom sources list causes APT to pull packages lists for multiple architectures
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 base-images.