Comments (2)
Hi @zukuzu, sorry for taking a long time to respond!
I decided to take a crack at this today. First, to set expectations correctly: this is an experimental buildpack and therefore please do not expect quick support. The buildpack is also designed to work for just simple packages, as the behavior of apt is not that easy to reliably deal with all cases. We try our best effort to support it, but a lower priority compared to other buildpacks.
The reason that this buildpack uses a non-standard etc dir like /home/vcap/deps/0/apt
is because the buildpack does not have the privilege to run as root (a requirement for apt-install). It mocks this by extracting the archive to this location and setting up common env variables. Hence the reasoning that it doesn't work for just simple packages.
As far as this app is concerned, you will have to try doing the missing steps for this package yourself.
I was able to get java just working by setting JAVA_HOME=/home/vcap/deps/0/apt/usr/lib/jvm/java-8-openjdk-amd64
and adding $JAVA_HOME/bin
in the container. Now to get those symlinks working, you will have similarly rewire those symlinks yourself. You can utilize the .profile
script to do the necessary changes. Unfortunately, supporting this package out-of-box wouldn't be in the scope of this buildpack.
Doing a little web search, I found a very similar issue addressed at GSA/data.gov#2917 (comment). Please take a look. I'm not very unfamiliar with the java domain, but please checkout if you can utilize the Java buildpack for your use case.
from apt-buildpack.
I'm closing this issue. Please reopen if you like to continue the conversation
from apt-buildpack.
Related Issues (20)
- Release: apt-buildpack (Feb) HOT 1
- Release: apt-buildpack (Mar) HOT 1
- Buildpack should release cflinuxfs4 compatible zip & run tests on cflinuxfs4 HOT 2
- [tech debt] remove installation of other buildpacks in tests HOT 1
- Remove ruby based test fixture HOT 1
- Future of apt-buildpack with Ubuntu based CF HOT 4
- Release: apt-buildpack (Apr) HOT 2
- Unable to deploy NodeJS app with cflinuxfs4 HOT 4
- Release: apt-buildpack (May) HOT 1
- failed apt-get install Reading package lists... HOT 2
- Fix buildpack integration tests failing on cflinuxfs4 HOT 1
- Release: apt-buildpack (Jun) HOT 1
- Release: apt-buildpack (Jul)
- **ERROR** Apt buildpack requires apt.yml
- Release: apt-buildpack (Aug)
- Release: apt-buildpack (Sep) HOT 1
- Migrate away from using apt-key
- Release: apt-buildpack (Oct) HOT 1
- Only first key is imported from given URL HOT 1
- Release: apt-buildpack (Nov) HOT 1
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 apt-buildpack.