Skip to content
Discussion options

You must be logged in to vote

The missing installation is expected from the current repository layout: Buildpacks do not execute the RUN instruction in the Dockerfile. The linked repository contains only a Dockerfile and project metadata, with no Python dependency manifest, so the Python buildpack provides CPython and its default python process but has nothing telling it to install ansible-builder.

For a Python-installed CLI, express both the dependency and the launch process as Buildpacks inputs:

# requirements.txt
ansible-builder==3.1.1
# Procfile
ansible-builder: ansible-builder

Then build it with, for example:

pack build ansible-builder-cnb \
  --builder paketobuildpacks/builder-jammy-base \
  --buildpack paketo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kastl-ars
Comment options

@kastl-ars
Comment options

@lMysticl
Comment options

@kastl-ars
Comment options

Answer selected by kastl-ars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants