Giter VIP home page Giter VIP logo

Comments (2)

arjun024 avatar arjun024 commented on June 10, 2024

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.

arjun024 avatar arjun024 commented on June 10, 2024

I'm closing this issue. Please reopen if you like to continue the conversation

from apt-buildpack.

Related Issues (20)

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.