Closed akitson-degreed closed 2 years ago
Hi @akitson-degreed 👋
That is strange. On the running container, can you post what the output of echo $PATH
? Also what command are you running to build the app / and then enter the container?
When you run the container with docker you may need to add an --entrypoint launcher
since that sets the env.
I'd expect the command to look like:
docker run -it --entrypoint=launcher visier-utility /bin/bash
Closing for now since this has gone stale. Please reopen if you're still seeing this problem.
What happened?
I am attempting to use skaffold to debug my container, and one of the requirements is that
dotnet
must be available on the path. However, it is not on the path of the built container.What were you attempting to do? exec into the container and run
dotnet version
What did you expect to happen? It returns the version.
What was the actual behavior? Please provide log output, if possible.
bash: dotnet: command not found
Build Configuration
project.toml:
LOG from build:
What platform (
pack
,kpack
,tekton
buildpacks plugin, etc.) are you using? Please include a version.skaffold v1.35.1
pack 0.22.0
What buildpacks are you using? Please include versions.
gcr.io/paketo-buildpacks/dotnet-core (latest)
What builder are you using? If custom, can you provide the output from
pack inspect-builder <builder>
?paketobuildpacks/builder:full
Can you provide a sample app or relevant configuration (
buildpack.yml
,nginx.conf
, etc.)?Checklist