Closed sk31337 closed 7 months ago
[UPDATE] I modified single-tenant/deploy/kyma/package.json
and removed -e BP_NODE_RUN_SCRIPTS=
and now I get this output:
npx cross-env IMAGE_PREFIX=ghcr.io/stb1337 npm run build:all
> btp-cap-genai-rag@1.0.0 build:all
> npm run build:srv && npm run build:db && npm run build:router && npm run build:html5-deployer
> btp-cap-genai-rag@1.0.0 build:srv
> cross-env-shell pack build $IMAGE_PREFIX/ai-srv -p ../../code/gen/srv -v -B paketobuildpacks/builder:base -b paketo-buildpacks/nodejs --env BP_LAUNCHPOINT=./node_modules/@sap/cds/bin/cds-serve.js
Builder paketobuildpacks/builder:base is untrusted
As a result, the phases of the lifecycle which require root access will be run in separate trusted ephemeral containers.
For more information, see https://medium.com/buildpacks/faster-more-secure-builds-with-pack-0-11-0-4d0c633ca619
Pulling image index.docker.io/paketobuildpacks/builder:base
base: Pulling from paketobuildpacks/builder
Digest: sha256:17ea21162ba8c7717d3ead3ee3836a368aced7f02f2e59658e52029bd6d149e7
Status: Image is up to date for paketobuildpacks/builder:base
CheckReadAccess succeeded for the run image index.docker.io/paketobuildpacks/run:base-cnb
CheckReadAccess succeeded for the run image gcr.io/paketo-buildpacks/run:base-cnb
Selected run image index.docker.io/paketobuildpacks/run:base-cnb
Pulling image index.docker.io/paketobuildpacks/run:base-cnb
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:1af9935d8987fd52b2266d288200c9482d1dd5529860bbf5bc2d248de1cb1a38
Status: Image is up to date for paketobuildpacks/run:base-cnb
Pulling image buildpacksio/lifecycle:0.16.5
0.16.5: Pulling from buildpacksio/lifecycle
Digest: sha256:6328c7b662c452111e39f1f5d5d097292d07c218ba4a873f0ad0c2cb67710869
Status: Image is up to date for buildpacksio/lifecycle:0.16.5
Setting custom order
Creating builder with the following buildpacks:
-> paketo-buildpacks/dotnet-core@0.38.0
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/dotnet-core-aspnet-runtime@0.3.19
-> paketo-buildpacks/dotnet-core-sdk@0.13.17
-> paketo-buildpacks/dotnet-execute@0.14.17
-> paketo-buildpacks/dotnet-publish@0.12.15
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/icu@0.6.14
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/vsdbg@0.2.10
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/go@4.4.3
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/git@1.0.6
-> paketo-buildpacks/go-build@2.0.22
-> paketo-buildpacks/go-dist@2.3.10
-> paketo-buildpacks/go-mod-vendor@1.0.21
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/java-native-image@8.12.0
-> paketo-buildpacks/bellsoft-liberica@10.2.6
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/datadog@3.15.0
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/executable-jar@6.7.4
-> paketo-buildpacks/gradle@7.3.0
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/leiningen@4.6.4
-> paketo-buildpacks/maven@6.15.5
-> paketo-buildpacks/native-image@5.12.1
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/sbt@6.12.2
-> paketo-buildpacks/spring-boot@5.26.1
-> paketo-buildpacks/syft@1.32.1
-> paketo-buildpacks/upx@3.4.3
-> paketo-buildpacks/java@9.14.0
-> paketo-buildpacks/apache-tomcat@7.13.7
-> paketo-buildpacks/apache-tomee@1.7.4
-> paketo-buildpacks/azure-application-insights@5.15.1
-> paketo-buildpacks/bellsoft-liberica@10.2.6
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/clojure-tools@2.8.5
-> paketo-buildpacks/datadog@3.15.0
-> paketo-buildpacks/dist-zip@5.6.4
-> paketo-buildpacks/encrypt-at-rest@4.5.5
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/executable-jar@6.7.4
-> paketo-buildpacks/google-stackdriver@7.6.1
-> paketo-buildpacks/gradle@7.3.0
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/jattach@1.4.4
-> paketo-buildpacks/java-memory-assistant@1.4.4
-> paketo-buildpacks/leiningen@4.6.4
-> paketo-buildpacks/liberty@3.8.2
-> paketo-buildpacks/maven@6.15.5
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/sbt@6.12.2
-> paketo-buildpacks/spring-boot@5.26.1
-> paketo-buildpacks/syft@1.32.1
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/nodejs@1.7.0
-> paketo-buildpacks/ca-certificates@3.6.2
-> paketo-buildpacks/datadog@3.6.0
-> paketo-buildpacks/environment-variables@4.5.2
-> paketo-buildpacks/image-labels@4.5.1
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/node-run-script@1.0.10
-> paketo-buildpacks/node-start@1.0.11
-> paketo-buildpacks/npm-install@1.1.4
-> paketo-buildpacks/npm-start@1.0.11
-> paketo-buildpacks/procfile@5.6.3
-> paketo-buildpacks/watchexec@2.8.2
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
-> paketo-buildpacks/yarn-start@1.0.11
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/python@2.13.0
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/conda-env-update@0.7.11
-> paketo-buildpacks/cpython@1.8.11
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/miniconda@0.8.4
-> paketo-buildpacks/pip@0.17.4
-> paketo-buildpacks/pip-install@0.5.16
-> paketo-buildpacks/pipenv@1.18.0
-> paketo-buildpacks/pipenv-install@0.6.17
-> paketo-buildpacks/poetry@0.6.4
-> paketo-buildpacks/poetry-install@0.3.16
-> paketo-buildpacks/poetry-run@0.4.18
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/python-start@0.14.11
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/ruby@0.38.1
-> paketo-buildpacks/bundle-install@0.7.9
-> paketo-buildpacks/bundler@0.7.21
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/mri@0.14.5
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/passenger@0.10.3
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/puma@0.4.31
-> paketo-buildpacks/rackup@0.4.30
-> paketo-buildpacks/rails-assets@0.9.1
-> paketo-buildpacks/rake@0.4.30
-> paketo-buildpacks/thin@0.5.30
-> paketo-buildpacks/unicorn@0.4.30
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/web-servers@0.17.1
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/httpd@0.7.11
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/nginx@0.15.3
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/node-run-script@1.0.10
-> paketo-buildpacks/npm-install@1.1.4
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/source-removal@0.2.0
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
Provided Environment Variables
BP_LAUNCHPOINT=./node_modules/@sap/cds/bin/cds-serve.js
Using build cache volume pack-cache-stb1337_ai-srv_latest-fc97796bc379.build
===> ANALYZING
Running the analyzer on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/analyzer -log-level debug -daemon -stack /layers/stack.toml -run-image index.docker.io/paketobuildpacks/run:base-cnb -launch-cache /launch-cache ghcr.io/stb1337/ai-srv
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: /var/run/docker.sock:/var/run/docker.sock pack-cache-stb1337_ai-srv_latest-fc97796bc379.launch:/launch-cache pack-layers-zotrcyarmn:/layers pack-app-lesxafkbmn:/workspace
Network Mode:
[analyzer] Image with name "ghcr.io/stb1337/ai-srv" not found
[analyzer] Found image with identifier "f2e5000af0cb0db7d16a2939fc88c2aa522e91826c0e87ef2a4ec2825b213585"
===> DETECTING
Running the detector on OS linux from image pack.local/builder/67726365706563766b6b:latest with:
Container Settings:
Args: /cnb/lifecycle/detector -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.11
Image: pack.local/builder/67726365706563766b6b:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-zotrcyarmn:/layers pack-app-lesxafkbmn:/workspace
Network Mode:
[detector] ======== Output: paketo-buildpacks/yarn-install@1.1.3 ========
[detector] no 'yarn.lock' file found in the project path /workspace
[detector] ======== Output: paketo-buildpacks/node-start@1.0.11 ========
[detector] expected value derived from BP_LAUNCHPOINT [./node_modules/@sap/cds/bin/cds-serve.js] to be an existing file
[detector] ======== Output: paketo-buildpacks/yarn-start@1.0.11 ========
[detector] no 'yarn.lock' found in the project path /workspace
[detector] ======== Output: paketo-buildpacks/procfile@5.6.3 ========
[detector] SKIPPED: No procfile found from either source path or binding.
[detector] ======== Output: paketo-buildpacks/image-labels@4.5.1 ========
[detector] Build Configuration:
[detector] $BP_IMAGE_LABELS arbitrary image labels
[detector] $BP_OCI_AUTHORS the org.opencontainers.image.authors image label
[detector] $BP_OCI_CREATED the org.opencontainers.image.created image label
[detector] $BP_OCI_DESCRIPTION the org.opencontainers.image.description image label
[detector] $BP_OCI_DOCUMENTATION the org.opencontainers.image.documentation image label
[detector] $BP_OCI_LICENSES the org.opencontainers.image.licenses image label
[detector] $BP_OCI_REF_NAME the org.opencontainers.image.ref.name image label
[detector] $BP_OCI_REVISION the org.opencontainers.image.revision image label
[detector] $BP_OCI_SOURCE the org.opencontainers.image.source image label
[detector] $BP_OCI_TITLE the org.opencontainers.image.title image label
[detector] $BP_OCI_URL the org.opencontainers.image.url image label
[detector] $BP_OCI_VENDOR the org.opencontainers.image.vendor image label
[detector] $BP_OCI_VERSION the org.opencontainers.image.version image label
[detector] SKIPPED: No supported environment variables were set
[detector] ======== Results ========
[detector] pass: paketo-buildpacks/ca-certificates@3.6.2
[detector] pass: paketo-buildpacks/watchexec@2.8.2
[detector] pass: paketo-buildpacks/node-engine@1.6.0
[detector] pass: paketo-buildpacks/yarn@1.1.9
[detector] fail: paketo-buildpacks/yarn-install@1.1.3
[detector] pass: paketo-buildpacks/node-run-script@1.0.10
[detector] err: paketo-buildpacks/node-start@1.0.11 (1)
[detector] skip: paketo-buildpacks/yarn-start@1.0.11
[detector] skip: paketo-buildpacks/procfile@5.6.3
[detector] skip: paketo-buildpacks/datadog@3.6.0
[detector] skip: paketo-buildpacks/environment-variables@4.5.2
[detector] skip: paketo-buildpacks/image-labels@4.5.1
[detector] ======== Output: paketo-buildpacks/node-start@1.0.11 ========
[detector] expected value derived from BP_LAUNCHPOINT [./node_modules/@sap/cds/bin/cds-serve.js] to be an existing file
[detector] ======== Output: paketo-buildpacks/npm-start@1.0.11 ========
[detector] no start script in package.json
[detector] ======== Output: paketo-buildpacks/procfile@5.6.3 ========
[detector] SKIPPED: No procfile found from either source path or binding.
[detector] ======== Output: paketo-buildpacks/image-labels@4.5.1 ========
[detector] Build Configuration:
[detector] $BP_IMAGE_LABELS arbitrary image labels
[detector] $BP_OCI_AUTHORS the org.opencontainers.image.authors image label
[detector] $BP_OCI_CREATED the org.opencontainers.image.created image label
[detector] $BP_OCI_DESCRIPTION the org.opencontainers.image.description image label
[detector] $BP_OCI_DOCUMENTATION the org.opencontainers.image.documentation image label
[detector] $BP_OCI_LICENSES the org.opencontainers.image.licenses image label
[detector] $BP_OCI_REF_NAME the org.opencontainers.image.ref.name image label
[detector] $BP_OCI_REVISION the org.opencontainers.image.revision image label
[detector] $BP_OCI_SOURCE the org.opencontainers.image.source image label
[detector] $BP_OCI_TITLE the org.opencontainers.image.title image label
[detector] $BP_OCI_URL the org.opencontainers.image.url image label
[detector] $BP_OCI_VENDOR the org.opencontainers.image.vendor image label
[detector] $BP_OCI_VERSION the org.opencontainers.image.version image label
[detector] SKIPPED: No supported environment variables were set
[detector] ======== Results ========
[detector] pass: paketo-buildpacks/ca-certificates@3.6.2
[detector] pass: paketo-buildpacks/watchexec@2.8.2
[detector] pass: paketo-buildpacks/node-engine@1.6.0
[detector] pass: paketo-buildpacks/npm-install@1.1.4
[detector] pass: paketo-buildpacks/node-run-script@1.0.10
[detector] err: paketo-buildpacks/node-start@1.0.11 (1)
[detector] skip: paketo-buildpacks/npm-start@1.0.11
[detector] skip: paketo-buildpacks/procfile@5.6.3
[detector] skip: paketo-buildpacks/datadog@3.6.0
[detector] skip: paketo-buildpacks/environment-variables@4.5.2
[detector] skip: paketo-buildpacks/image-labels@4.5.1
[detector] Resolving plan... (try #1)
[detector] fail: paketo-buildpacks/npm-install@1.1.4 requires npm
[detector] Resolving plan... (try #2)
[detector] skip: paketo-buildpacks/watchexec@2.8.2 provides unused watchexec
[detector] fail: paketo-buildpacks/ca-certificates@3.6.2 provides unused ca-certificates
[detector] Resolving plan... (try #3)
[detector] fail: paketo-buildpacks/npm-install@1.1.4 requires npm
[detector] Resolving plan... (try #4)
[detector] skip: paketo-buildpacks/watchexec@2.8.2 provides unused watchexec
[detector] 4 of 11 buildpacks participating
[detector] paketo-buildpacks/ca-certificates 3.6.2
[detector] paketo-buildpacks/node-engine 1.6.0
[detector] paketo-buildpacks/npm-install 1.1.4
[detector] paketo-buildpacks/node-run-script 1.0.10
===> RESTORING
Running the restorer on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/restorer -cache-dir /cache -log-level debug
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-stb1337_ai-srv_latest-fc97796bc379.build:/cache pack-layers-zotrcyarmn:/layers pack-app-lesxafkbmn:/workspace
Network Mode:
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-run-script
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-run-script
===> BUILDING
Running the builder on OS linux from image pack.local/builder/67726365706563766b6b:latest with:
Container Settings:
Args: /cnb/lifecycle/builder -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.11
Image: pack.local/builder/67726365706563766b6b:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-zotrcyarmn:/layers pack-app-lesxafkbmn:/workspace
Network Mode:
[builder] Starting build
[builder] Running build for buildpack paketo-buildpacks/ca-certificates@3.6.2
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder]
[builder] Paketo Buildpack for CA Certificates 3.6.2
[builder] https://github.com/paketo-buildpacks/ca-certificates
[builder] Launch Helper: Contributing to layer
[builder] Creating /layers/paketo-buildpacks_ca-certificates/helper/exec.d/ca-certificates-helper
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/ca-certificates@3.6.2
[builder] Running build for buildpack paketo-buildpacks/node-engine@1.6.0
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for Node Engine 1.6.0
[builder] Resolving Node Engine version
[builder] Candidate version sources (in priority order):
[builder] -> ""
[builder] <unknown> -> ""
[builder]
[builder] Selected Node Engine version (using ): 18.16.1
[builder]
[builder] Executing build process
[builder] Installing Node Engine 18.16.1
[builder] Completed in 1.703s
[builder]
[builder] Generating SBOM for /layers/paketo-buildpacks_node-engine/node
[builder] Completed in 2ms
[builder]
[builder] Configuring build environment
[builder] NODE_ENV -> "production"
[builder] NODE_HOME -> "/layers/paketo-buildpacks_node-engine/node"
[builder] NODE_OPTIONS -> "--use-openssl-ca"
[builder] NODE_VERBOSE -> "false"
[builder]
[builder] Configuring launch environment
[builder] NODE_ENV -> "production"
[builder] NODE_HOME -> "/layers/paketo-buildpacks_node-engine/node"
[builder] NODE_OPTIONS -> "--use-openssl-ca"
[builder] NODE_VERBOSE -> "false"
[builder]
[builder] Writing exec.d/0-optimize-memory
[builder] Calculates available memory based on container limits at launch time.
[builder] Made available in the MEMORY_AVAILABLE environment variable.
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/node-engine@1.6.0
[builder] Running build for buildpack paketo-buildpacks/npm-install@1.1.4
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for NPM Install 1.1.4
[builder] Resolving installation process
[builder] Process inputs:
[builder] node_modules -> "Not found"
[builder] npm-cache -> "Not found"
[builder] package-lock.json -> "Found"
[builder]
[builder] Selected NPM build process: 'npm ci'
[builder]
[builder] Executing build environment install process
[builder] Running 'npm ci --unsafe-perm --cache /layers/paketo-buildpacks_npm-install/npm-cache'
[builder]
[builder] added 1597 packages, and audited 1598 packages in 26s
[builder]
[builder] 156 packages are looking for funding
[builder] run `npm fund` for details
[builder]
[builder] 3 moderate severity vulnerabilities
[builder]
[builder] To address all issues, run:
[builder] npm audit fix
[builder]
[builder] Run `npm audit` for details.
[builder] npm notice
[builder] npm notice New major version of npm available! 9.5.1 -> 10.5.0
[builder] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
[builder] npm notice Run `npm install -g npm@10.5.0` to update!
[builder] npm notice
[builder] Completed in 29.153s
[builder]
[builder] Configuring build environment
[builder] NODE_ENV -> "development"
[builder] PATH -> "$PATH:/layers/paketo-buildpacks_npm-install/build-modules/node_modules/.bin"
[builder]
[builder] Generating SBOM for /layers/paketo-buildpacks_npm-install/build-modules
[builder] Completed in 2.53s
[builder]
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/npm-install@1.1.4
[builder] Running build for buildpack paketo-buildpacks/node-run-script@1.0.10
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for Node Run Script 1.0.10
[builder] Executing build process
[builder] Running 'npm run build'
[builder]
[builder] > btp-cap-genai-rag@1.0.0 build
[builder] > npx -p @sap/cds-dk cds build --profile production
[builder]
[builder] building project [/workspace], clean [true]
[builder] cds-dk [7.8.0], cds [7.8.0], compiler [4.8.0], home [/layers/paketo-buildpacks_npm-install/build-modules/node_modules/@sap/cds]
[builder]
[builder] {
[builder] build: {
[builder] target: 'gen',
[builder] tasks: [
[builder] { for: 'nodejs', src: 'srv', options: { model: ['srv'] }}
[builder] ]
[builder] }
[builder] }
[builder]
[builder] done > wrote output to:
[builder] gen/srv/.cdsrc.json
[builder] gen/srv/package-lock.json
[builder] gen/srv/package.json
[builder] gen/srv/srv/_i18n/i18n.json
[builder] gen/srv/srv/csn.json
[builder] gen/srv/srv/default-values.js
[builder] gen/srv/srv/mail-insights-service.js
[builder] gen/srv/srv/odata/v4/MailInsightsService.xml
[builder] gen/srv/srv/schemas.js
[builder] gen/srv/srv/server.js
[builder] gen/srv/srv/types.js
[builder] gen/srv/srv/utils/ai-core.js
[builder] gen/srv/srv/utils/langchain/BTPAzureOpenAIChatLLM.js
[builder] gen/srv/srv/utils/langchain/BTPEmbedding.js
[builder] gen/srv/srv/vendor/AI_CORE_API/application-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/artifact-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/configuration-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/deployment-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/docker-registry-secret-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/executable-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/execution-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/execution-schedule-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/file-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/index.js
[builder] gen/srv/srv/vendor/AI_CORE_API/kpi-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/meta-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/metrics-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/object-store-secret-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/repository-api.js
[builder] gen/srv/srv/vendor/AI_CORE_API/resource-group-api.js
[builder] ... 293 more. Run with DEBUG=build to show all files.
[builder]
[builder] [WARNING] Option ‘beta’ was used. This option should not be used in productive scenarios!
[builder] build completed in 547 ms
[builder]
[builder] npm notice
[builder] npm notice New major version of npm available! 9.5.1 -> 10.5.0
[builder] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
[builder] npm notice Run `npm install -g npm@10.5.0` to update!
[builder] npm notice
[builder]
[builder] Completed in 4.446s
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/node-run-script@1.0.10
[builder] Copying SBOM files
[builder] Creating SBOM files for legacy BOM
[builder] Listing processes
[builder] Finished build
===> EXPORTING
Running the exporter on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/exporter -daemon -launch-cache /launch-cache -log-level debug -app /workspace -cache-dir /cache -stack /layers/stack.toml ghcr.io/stb1337/ai-srv
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-stb1337_ai-srv_latest-fc97796bc379.build:/cache /var/run/docker.sock:/var/run/docker.sock pack-cache-stb1337_ai-srv_latest-fc97796bc379.launch:/launch-cache pack-layers-zotrcyarmn:/layers pack-app-lesxafkbmn:/workspace
Network Mode:
[exporter] Copying SBOM lifecycle.sbom.cdx.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.cdx.json
[exporter] Copying SBOM lifecycle.sbom.spdx.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.spdx.json
[exporter] Copying SBOM lifecycle.sbom.syft.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.syft.json
[exporter] Copying SBOM launcher.sbom.cdx.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.cdx.json
[exporter] Copying SBOM launcher.sbom.spdx.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.spdx.json
[exporter] Copying SBOM launcher.sbom.syft.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.syft.json
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Reading buildpack directory item: helper
[exporter] Reading buildpack directory item: helper.sbom.syft.json
[exporter] Reading buildpack directory item: helper.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Processing launch layer: /layers/paketo-buildpacks_ca-certificates/helper
[exporter] Reusing tarball for layer "paketo-buildpacks/ca-certificates:helper" with SHA: sha256:a0eecda298c6a63198c388e150a9a38f834507612ae1adfc298d88c4b1a0c47d
[exporter] Adding layer 'paketo-buildpacks/ca-certificates:helper'
[exporter] Layer 'paketo-buildpacks/ca-certificates:helper' SHA: sha256:a0eecda298c6a63198c388e150a9a38f834507612ae1adfc298d88c4b1a0c47d
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Reading buildpack directory item: build.toml
[exporter] Reading buildpack directory item: node
[exporter] Reading buildpack directory item: node.sbom.cdx.json
[exporter] Reading buildpack directory item: node.sbom.spdx.json
[exporter] Reading buildpack directory item: node.sbom.syft.json
[exporter] Reading buildpack directory item: node.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Reading buildpack directory item: build-modules
[exporter] Reading buildpack directory item: build-modules.sbom.cdx.json
[exporter] Reading buildpack directory item: build-modules.sbom.spdx.json
[exporter] Reading buildpack directory item: build-modules.sbom.syft.json
[exporter] Reading buildpack directory item: build-modules.toml
[exporter] Reading buildpack directory item: npm-cache
[exporter] Reading buildpack directory item: npm-cache.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-run-script
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_node-run-script
[exporter] Found SBOM of type launch for at /layers/sbom/launch
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:launch.sbom" with SHA: sha256:b9ad05631db845e8103b61cbabce0950af96f31f392bbfdad60f014bb087231e
[exporter] Adding layer 'buildpacksio/lifecycle:launch.sbom'
[exporter] Layer 'buildpacksio/lifecycle:launch.sbom' SHA: sha256:b9ad05631db845e8103b61cbabce0950af96f31f392bbfdad60f014bb087231e
[exporter] Layer 'slice-1' SHA: sha256:b31b415352242d271eeeba1fd307cb9038fc617cf6523511e02bb2bc19a3ab9c
[exporter] Adding 1/1 app layer(s)
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:launcher" with SHA: sha256:8812c86dc680eff86adb495d4be1891b3f209f7af25ae9a389cb433c3f3748ea
[exporter] Adding layer 'buildpacksio/lifecycle:launcher'
[exporter] Layer 'buildpacksio/lifecycle:launcher' SHA: sha256:8812c86dc680eff86adb495d4be1891b3f209f7af25ae9a389cb433c3f3748ea
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:config" with SHA: sha256:3e7230acdb20e89b9d1af676ad9705c109436463820eac14fd72f37549c9ea9c
[exporter] Adding layer 'buildpacksio/lifecycle:config'
[exporter] Layer 'buildpacksio/lifecycle:config' SHA: sha256:3e7230acdb20e89b9d1af676ad9705c109436463820eac14fd72f37549c9ea9c
[exporter] Adding label 'io.buildpacks.lifecycle.metadata'
[exporter] Adding label 'io.buildpacks.build.metadata'
[exporter] Adding label 'io.buildpacks.project.metadata'
[exporter] Setting CNB_LAYERS_DIR=/layers
[exporter] Setting CNB_APP_DIR=/workspace
[exporter] Setting CNB_PLATFORM_API=0.11
[exporter] Setting CNB_DEPRECATION_MODE=quiet
[exporter] Prepending /cnb/process and /cnb/lifecycle to PATH
[exporter] Setting WORKDIR: '/workspace'
[exporter] no default process type
[exporter] Setting ENTRYPOINT: '/cnb/lifecycle/launcher'
[exporter] Saving ghcr.io/stb1337/ai-srv...
[exporter] *** Images (73f97d4d2a21):
[exporter] ghcr.io/stb1337/ai-srv
[exporter]
[exporter] *** Image ID: 73f97d4d2a21e2a6e36b26b70513027ed9dc06c7c0c43cd8d6440376b5ee0e31
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Reading buildpack directory item: helper
[exporter] Reading buildpack directory item: helper.sbom.syft.json
[exporter] Reading buildpack directory item: helper.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Reading buildpack directory item: build.toml
[exporter] Reading buildpack directory item: node
[exporter] Reading buildpack directory item: node.sbom.cdx.json
[exporter] Reading buildpack directory item: node.sbom.spdx.json
[exporter] Reading buildpack directory item: node.sbom.syft.json
[exporter] Reading buildpack directory item: node.toml
[exporter] Adding cache layer 'paketo-buildpacks/node-engine:node'
[exporter] Layer 'paketo-buildpacks/node-engine:node' SHA: sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Reading buildpack directory item: build-modules
[exporter] Reading buildpack directory item: build-modules.sbom.cdx.json
[exporter] Reading buildpack directory item: build-modules.sbom.spdx.json
[exporter] Reading buildpack directory item: build-modules.sbom.syft.json
[exporter] Reading buildpack directory item: build-modules.toml
[exporter] Reading buildpack directory item: npm-cache
[exporter] Reading buildpack directory item: npm-cache.toml
[exporter] Adding cache layer 'paketo-buildpacks/npm-install:build-modules'
[exporter] Layer 'paketo-buildpacks/npm-install:build-modules' SHA: sha256:d10a04f1926c1d37d8acf2bcbaa7aa5513a2fc906f00a43285f352793b3b0ebf
[exporter] Adding cache layer 'paketo-buildpacks/npm-install:npm-cache'
[exporter] Layer 'paketo-buildpacks/npm-install:npm-cache' SHA: sha256:d8ec414d7842d2cd28573bd67dfe564e569ddc9179b004261422721824ce63d3
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-run-script
[exporter] Found SBOM of type cache for at /layers/sbom/cache
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:cache.sbom" with SHA: sha256:bff14b01d8ba02e7eaa8ba318e7f794574a257c4c78501649997646fce12acf1
[exporter] Adding cache layer 'buildpacksio/lifecycle:cache.sbom'
[exporter] Layer 'buildpacksio/lifecycle:cache.sbom' SHA: sha256:bff14b01d8ba02e7eaa8ba318e7f794574a257c4c78501649997646fce12acf1
Successfully built image ghcr.io/stb1337/ai-srv
> btp-cap-genai-rag@1.0.0 build:db
> cross-env-shell pack build $IMAGE_PREFIX/ai-db -p ../../code/gen/db -v -B paketobuildpacks/builder:base -b paketo-buildpacks/nodejs --env BP_LAUNCHPOINT=./node_modules/@sap/hdi-deploy/deploy.js
Builder paketobuildpacks/builder:base is untrusted
As a result, the phases of the lifecycle which require root access will be run in separate trusted ephemeral containers.
For more information, see https://medium.com/buildpacks/faster-more-secure-builds-with-pack-0-11-0-4d0c633ca619
Pulling image index.docker.io/paketobuildpacks/builder:base
base: Pulling from paketobuildpacks/builder
Digest: sha256:17ea21162ba8c7717d3ead3ee3836a368aced7f02f2e59658e52029bd6d149e7
Status: Image is up to date for paketobuildpacks/builder:base
CheckReadAccess succeeded for the run image index.docker.io/paketobuildpacks/run:base-cnb
CheckReadAccess succeeded for the run image gcr.io/paketo-buildpacks/run:base-cnb
Selected run image index.docker.io/paketobuildpacks/run:base-cnb
Pulling image index.docker.io/paketobuildpacks/run:base-cnb
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:1af9935d8987fd52b2266d288200c9482d1dd5529860bbf5bc2d248de1cb1a38
Status: Image is up to date for paketobuildpacks/run:base-cnb
Pulling image buildpacksio/lifecycle:0.16.5
0.16.5: Pulling from buildpacksio/lifecycle
Digest: sha256:6328c7b662c452111e39f1f5d5d097292d07c218ba4a873f0ad0c2cb67710869
Status: Image is up to date for buildpacksio/lifecycle:0.16.5
Setting custom order
Creating builder with the following buildpacks:
-> paketo-buildpacks/dotnet-core@0.38.0
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/dotnet-core-aspnet-runtime@0.3.19
-> paketo-buildpacks/dotnet-core-sdk@0.13.17
-> paketo-buildpacks/dotnet-execute@0.14.17
-> paketo-buildpacks/dotnet-publish@0.12.15
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/icu@0.6.14
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/vsdbg@0.2.10
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/go@4.4.3
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/git@1.0.6
-> paketo-buildpacks/go-build@2.0.22
-> paketo-buildpacks/go-dist@2.3.10
-> paketo-buildpacks/go-mod-vendor@1.0.21
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/java-native-image@8.12.0
-> paketo-buildpacks/bellsoft-liberica@10.2.6
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/datadog@3.15.0
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/executable-jar@6.7.4
-> paketo-buildpacks/gradle@7.3.0
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/leiningen@4.6.4
-> paketo-buildpacks/maven@6.15.5
-> paketo-buildpacks/native-image@5.12.1
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/sbt@6.12.2
-> paketo-buildpacks/spring-boot@5.26.1
-> paketo-buildpacks/syft@1.32.1
-> paketo-buildpacks/upx@3.4.3
-> paketo-buildpacks/java@9.14.0
-> paketo-buildpacks/apache-tomcat@7.13.7
-> paketo-buildpacks/apache-tomee@1.7.4
-> paketo-buildpacks/azure-application-insights@5.15.1
-> paketo-buildpacks/bellsoft-liberica@10.2.6
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/clojure-tools@2.8.5
-> paketo-buildpacks/datadog@3.15.0
-> paketo-buildpacks/dist-zip@5.6.4
-> paketo-buildpacks/encrypt-at-rest@4.5.5
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/executable-jar@6.7.4
-> paketo-buildpacks/google-stackdriver@7.6.1
-> paketo-buildpacks/gradle@7.3.0
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/jattach@1.4.4
-> paketo-buildpacks/java-memory-assistant@1.4.4
-> paketo-buildpacks/leiningen@4.6.4
-> paketo-buildpacks/liberty@3.8.2
-> paketo-buildpacks/maven@6.15.5
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/sbt@6.12.2
-> paketo-buildpacks/spring-boot@5.26.1
-> paketo-buildpacks/syft@1.32.1
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/nodejs@1.7.0
-> paketo-buildpacks/ca-certificates@3.6.2
-> paketo-buildpacks/datadog@3.6.0
-> paketo-buildpacks/environment-variables@4.5.2
-> paketo-buildpacks/image-labels@4.5.1
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/node-run-script@1.0.10
-> paketo-buildpacks/node-start@1.0.11
-> paketo-buildpacks/npm-install@1.1.4
-> paketo-buildpacks/npm-start@1.0.11
-> paketo-buildpacks/procfile@5.6.3
-> paketo-buildpacks/watchexec@2.8.2
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
-> paketo-buildpacks/yarn-start@1.0.11
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/python@2.13.0
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/conda-env-update@0.7.11
-> paketo-buildpacks/cpython@1.8.11
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/miniconda@0.8.4
-> paketo-buildpacks/pip@0.17.4
-> paketo-buildpacks/pip-install@0.5.16
-> paketo-buildpacks/pipenv@1.18.0
-> paketo-buildpacks/pipenv-install@0.6.17
-> paketo-buildpacks/poetry@0.6.4
-> paketo-buildpacks/poetry-install@0.3.16
-> paketo-buildpacks/poetry-run@0.4.18
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/python-start@0.14.11
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/ruby@0.38.1
-> paketo-buildpacks/bundle-install@0.7.9
-> paketo-buildpacks/bundler@0.7.21
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/mri@0.14.5
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/passenger@0.10.3
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/puma@0.4.31
-> paketo-buildpacks/rackup@0.4.30
-> paketo-buildpacks/rails-assets@0.9.1
-> paketo-buildpacks/rake@0.4.30
-> paketo-buildpacks/thin@0.5.30
-> paketo-buildpacks/unicorn@0.4.30
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/web-servers@0.17.1
-> paketo-buildpacks/ca-certificates@3.6.3
-> paketo-buildpacks/environment-variables@4.5.3
-> paketo-buildpacks/httpd@0.7.11
-> paketo-buildpacks/image-labels@4.5.2
-> paketo-buildpacks/nginx@0.15.3
-> paketo-buildpacks/node-engine@1.6.0
-> paketo-buildpacks/node-run-script@1.0.10
-> paketo-buildpacks/npm-install@1.1.4
-> paketo-buildpacks/procfile@5.6.4
-> paketo-buildpacks/source-removal@0.2.0
-> paketo-buildpacks/watchexec@2.8.3
-> paketo-buildpacks/yarn@1.1.9
-> paketo-buildpacks/yarn-install@1.1.3
Provided Environment Variables
BP_LAUNCHPOINT=./node_modules/@sap/hdi-deploy/deploy.js
Using build cache volume pack-cache-stb1337_ai-db_latest-d63c6df903ed.build
===> ANALYZING
Running the analyzer on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/analyzer -log-level debug -daemon -stack /layers/stack.toml -run-image index.docker.io/paketobuildpacks/run:base-cnb -launch-cache /launch-cache ghcr.io/stb1337/ai-db
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: /var/run/docker.sock:/var/run/docker.sock pack-cache-stb1337_ai-db_latest-d63c6df903ed.launch:/launch-cache pack-layers-qpdzlxbpdy:/layers pack-app-vzazvrbkza:/workspace
Network Mode:
[analyzer] Found image with identifier "9d2cdecb71484a6cf08f2272c5079ae06814976fff88883590c83296a6f4b2c0"
[analyzer] Restoring data for SBOM from previous image
[analyzer] Retrieving previous image SBOM layer for "sha256:76b46069d4bd722e29e9ca317ac2acb2eab6167de072faf715cfb1b640830acb"
[analyzer] Found image with identifier "f2e5000af0cb0db7d16a2939fc88c2aa522e91826c0e87ef2a4ec2825b213585"
===> DETECTING
Running the detector on OS linux from image pack.local/builder/626e7161706876726167:latest with:
Container Settings:
Args: /cnb/lifecycle/detector -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.11
Image: pack.local/builder/626e7161706876726167:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-qpdzlxbpdy:/layers pack-app-vzazvrbkza:/workspace
Network Mode:
[detector] ======== Output: paketo-buildpacks/yarn-install@1.1.3 ========
[detector] no 'yarn.lock' file found in the project path /workspace
[detector] ======== Output: paketo-buildpacks/node-run-script@1.0.10 ========
[detector] could not find script(s) [build] in package.json
[detector] ======== Output: paketo-buildpacks/node-start@1.0.11 ========
[detector] expected value derived from BP_LAUNCHPOINT [./node_modules/@sap/hdi-deploy/deploy.js] to be an existing file
[detector] ======== Output: paketo-buildpacks/yarn-start@1.0.11 ========
[detector] no 'yarn.lock' found in the project path /workspace
[detector] ======== Output: paketo-buildpacks/procfile@5.6.3 ========
[detector] SKIPPED: No procfile found from either source path or binding.
[detector] ======== Output: paketo-buildpacks/image-labels@4.5.1 ========
[detector] Build Configuration:
[detector] $BP_IMAGE_LABELS arbitrary image labels
[detector] $BP_OCI_AUTHORS the org.opencontainers.image.authors image label
[detector] $BP_OCI_CREATED the org.opencontainers.image.created image label
[detector] $BP_OCI_DESCRIPTION the org.opencontainers.image.description image label
[detector] $BP_OCI_DOCUMENTATION the org.opencontainers.image.documentation image label
[detector] $BP_OCI_LICENSES the org.opencontainers.image.licenses image label
[detector] $BP_OCI_REF_NAME the org.opencontainers.image.ref.name image label
[detector] $BP_OCI_REVISION the org.opencontainers.image.revision image label
[detector] $BP_OCI_SOURCE the org.opencontainers.image.source image label
[detector] $BP_OCI_TITLE the org.opencontainers.image.title image label
[detector] $BP_OCI_URL the org.opencontainers.image.url image label
[detector] $BP_OCI_VENDOR the org.opencontainers.image.vendor image label
[detector] $BP_OCI_VERSION the org.opencontainers.image.version image label
[detector] SKIPPED: No supported environment variables were set
[detector] ======== Results ========
[detector] pass: paketo-buildpacks/ca-certificates@3.6.2
[detector] pass: paketo-buildpacks/watchexec@2.8.2
[detector] pass: paketo-buildpacks/node-engine@1.6.0
[detector] pass: paketo-buildpacks/yarn@1.1.9
[detector] fail: paketo-buildpacks/yarn-install@1.1.3
[detector] err: paketo-buildpacks/node-run-script@1.0.10 (1)
[detector] err: paketo-buildpacks/node-start@1.0.11 (1)
[detector] skip: paketo-buildpacks/yarn-start@1.0.11
[detector] skip: paketo-buildpacks/procfile@5.6.3
[detector] skip: paketo-buildpacks/datadog@3.6.0
[detector] skip: paketo-buildpacks/environment-variables@4.5.2
[detector] skip: paketo-buildpacks/image-labels@4.5.1
[detector] ======== Output: paketo-buildpacks/node-run-script@1.0.10 ========
[detector] could not find script(s) [build] in package.json
[detector] ======== Output: paketo-buildpacks/node-start@1.0.11 ========
[detector] expected value derived from BP_LAUNCHPOINT [./node_modules/@sap/hdi-deploy/deploy.js] to be an existing file
[detector] ======== Output: paketo-buildpacks/procfile@5.6.3 ========
[detector] SKIPPED: No procfile found from either source path or binding.
[detector] ======== Output: paketo-buildpacks/image-labels@4.5.1 ========
[detector] Build Configuration:
[detector] $BP_IMAGE_LABELS arbitrary image labels
[detector] $BP_OCI_AUTHORS the org.opencontainers.image.authors image label
[detector] $BP_OCI_CREATED the org.opencontainers.image.created image label
[detector] $BP_OCI_DESCRIPTION the org.opencontainers.image.description image label
[detector] $BP_OCI_DOCUMENTATION the org.opencontainers.image.documentation image label
[detector] $BP_OCI_LICENSES the org.opencontainers.image.licenses image label
[detector] $BP_OCI_REF_NAME the org.opencontainers.image.ref.name image label
[detector] $BP_OCI_REVISION the org.opencontainers.image.revision image label
[detector] $BP_OCI_SOURCE the org.opencontainers.image.source image label
[detector] $BP_OCI_TITLE the org.opencontainers.image.title image label
[detector] $BP_OCI_URL the org.opencontainers.image.url image label
[detector] $BP_OCI_VENDOR the org.opencontainers.image.vendor image label
[detector] $BP_OCI_VERSION the org.opencontainers.image.version image label
[detector] SKIPPED: No supported environment variables were set
[detector] ======== Results ========
[detector] pass: paketo-buildpacks/ca-certificates@3.6.2
[detector] pass: paketo-buildpacks/watchexec@2.8.2
[detector] pass: paketo-buildpacks/node-engine@1.6.0
[detector] pass: paketo-buildpacks/npm-install@1.1.4
[detector] err: paketo-buildpacks/node-run-script@1.0.10 (1)
[detector] err: paketo-buildpacks/node-start@1.0.11 (1)
[detector] pass: paketo-buildpacks/npm-start@1.0.11
[detector] skip: paketo-buildpacks/procfile@5.6.3
[detector] skip: paketo-buildpacks/datadog@3.6.0
[detector] skip: paketo-buildpacks/environment-variables@4.5.2
[detector] skip: paketo-buildpacks/image-labels@4.5.1
[detector] Resolving plan... (try #1)
[detector] fail: paketo-buildpacks/npm-install@1.1.4 requires npm
[detector] Resolving plan... (try #2)
[detector] fail: paketo-buildpacks/ca-certificates@3.6.2 provides unused ca-certificates
[detector] Resolving plan... (try #3)
[detector] fail: paketo-buildpacks/npm-install@1.1.4 requires npm
[detector] Resolving plan... (try #4)
[detector] skip: paketo-buildpacks/watchexec@2.8.2 provides unused watchexec
[detector] 4 of 11 buildpacks participating
[detector] paketo-buildpacks/ca-certificates 3.6.2
[detector] paketo-buildpacks/node-engine 1.6.0
[detector] paketo-buildpacks/npm-install 1.1.4
[detector] paketo-buildpacks/npm-start 1.0.11
===> RESTORING
Running the restorer on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/restorer -cache-dir /cache -log-level debug
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-stb1337_ai-db_latest-d63c6df903ed.build:/cache pack-layers-qpdzlxbpdy:/layers pack-app-vzazvrbkza:/workspace
Network Mode:
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[restorer] Restoring metadata for "paketo-buildpacks/ca-certificates:helper" from app image
[restorer] Writing layer metadata for "paketo-buildpacks/ca-certificates:helper"
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[restorer] Restoring metadata for "paketo-buildpacks/node-engine:node" from app image
[restorer] Writing layer metadata for "paketo-buildpacks/node-engine:node"
[restorer] Not restoring "paketo-buildpacks/node-engine:node" from cache, marked as launch=true
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[restorer] Restoring metadata for "paketo-buildpacks/npm-install:launch-modules" from app image
[restorer] Writing layer metadata for "paketo-buildpacks/npm-install:launch-modules"
[restorer] Restoring metadata for "paketo-buildpacks/npm-install:npm-cache" from cache
[restorer] Writing layer metadata for "paketo-buildpacks/npm-install:npm-cache"
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-start
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[restorer] Reading buildpack directory item: helper.toml
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[restorer] Reading buildpack directory item: node.toml
[restorer] Restoring data for "paketo-buildpacks/node-engine:node" from cache
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[restorer] Reading buildpack directory item: launch-modules.toml
[restorer] Retrieving data for "sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67"
[restorer] Reading buildpack directory item: npm-cache.toml
[restorer] Restoring data for "paketo-buildpacks/npm-install:npm-cache" from cache
[restorer] Reading buildpack directory: /layers/paketo-buildpacks_npm-start
[restorer] Restoring data for SBOM from cache
[restorer] Retrieving SBOM layer data for "sha256:6db1a451b7c2f3ddf63ef9e0d3f5b765cbdfd71242983fe158edc8d32b5051ab"
[restorer] Retrieving data for "sha256:dc43376be54e7532d96d0386b06fa9e6851c4e506397b9e5b2b169f447961ed1"
===> BUILDING
Running the builder on OS linux from image pack.local/builder/626e7161706876726167:latest with:
Container Settings:
Args: /cnb/lifecycle/builder -app /workspace -log-level debug
System Envs: CNB_PLATFORM_API=0.11
Image: pack.local/builder/626e7161706876726167:latest
User:
Labels: map[author:pack]
Host Settings:
Binds: pack-layers-qpdzlxbpdy:/layers pack-app-vzazvrbkza:/workspace
Network Mode:
[builder] Starting build
[builder] Running build for buildpack paketo-buildpacks/ca-certificates@3.6.2
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder]
[builder] Paketo Buildpack for CA Certificates 3.6.2
[builder] https://github.com/paketo-buildpacks/ca-certificates
[builder] Launch Helper: Reusing cached layer
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/ca-certificates@3.6.2
[builder] Running build for buildpack paketo-buildpacks/node-engine@1.6.0
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for Node Engine 1.6.0
[builder] Resolving Node Engine version
[builder] Candidate version sources (in priority order):
[builder] package.json -> "^16 || ^18 || ^20"
[builder] <unknown> -> ""
[builder]
[builder] Selected Node Engine version (using package.json): 18.16.1
[builder]
[builder] Reusing cached layer /layers/paketo-buildpacks_node-engine/node
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/node-engine@1.6.0
[builder] Running build for buildpack paketo-buildpacks/npm-install@1.1.4
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for NPM Install 1.1.4
[builder] Resolving installation process
[builder] Process inputs:
[builder] node_modules -> "Not found"
[builder] npm-cache -> "Not found"
[builder] package-lock.json -> "Not found"
[builder]
[builder] Selected NPM build process: 'npm install'
[builder]
[builder] Executing launch environment install process
[builder] Running 'npm install --unsafe-perm --cache /layers/paketo-buildpacks_npm-install/npm-cache'
[builder]
[builder] added 31 packages, and audited 32 packages in 3s
[builder]
[builder] found 0 vulnerabilities
[builder] Completed in 3.489s
[builder]
[builder] Configuring launch environment
[builder] NODE_PROJECT_PATH -> "/workspace"
[builder] NPM_CONFIG_LOGLEVEL -> "error"
[builder] PATH -> "$PATH:/layers/paketo-buildpacks_npm-install/launch-modules/node_modules/.bin"
[builder]
[builder] Generating SBOM for /layers/paketo-buildpacks_npm-install/launch-modules
[builder] Completed in 158ms
[builder]
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/npm-install@1.1.4
[builder] Running build for buildpack paketo-buildpacks/npm-start@1.0.11
[builder] Looking up buildpack
[builder] Finding plan
[builder] Creating plan directory
[builder] Preparing paths
[builder] Running build command
[builder] Paketo Buildpack for NPM Start 1.0.11
[builder] Assigning launch processes:
[builder] web (default): sh /workspace/start.sh
[builder]
[builder] Processing layers
[builder] Updating environment
[builder] Reading output files
[builder] Updating buildpack processes
[builder] Updating process list
[builder] Finished running build for buildpack paketo-buildpacks/npm-start@1.0.11
[builder] Copying SBOM files
[builder] Creating SBOM files for legacy BOM
[builder] Listing processes
[builder] Finished build
===> EXPORTING
Running the exporter on OS linux from image buildpacksio/lifecycle:0.16.5 with:
Container Settings:
Args: /cnb/lifecycle/exporter -daemon -launch-cache /launch-cache -log-level debug -app /workspace -cache-dir /cache -stack /layers/stack.toml ghcr.io/stb1337/ai-db
System Envs: CNB_USER_ID=1000 CNB_GROUP_ID=1000 CNB_PLATFORM_API=0.11
Image: buildpacksio/lifecycle:0.16.5
User: root
Labels: map[author:pack]
Host Settings:
Binds: pack-cache-stb1337_ai-db_latest-d63c6df903ed.build:/cache /var/run/docker.sock:/var/run/docker.sock pack-cache-stb1337_ai-db_latest-d63c6df903ed.launch:/launch-cache pack-layers-qpdzlxbpdy:/layers pack-app-vzazvrbkza:/workspace
Network Mode:
[exporter] Reusing layers from image with id '9d2cdecb71484a6cf08f2272c5079ae06814976fff88883590c83296a6f4b2c0'
[exporter] Copying SBOM lifecycle.sbom.cdx.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.cdx.json
[exporter] Copying SBOM lifecycle.sbom.spdx.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.spdx.json
[exporter] Copying SBOM lifecycle.sbom.syft.json to /layers/sbom/build/buildpacksio_lifecycle/sbom.syft.json
[exporter] Copying SBOM launcher.sbom.cdx.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.cdx.json
[exporter] Copying SBOM launcher.sbom.spdx.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.spdx.json
[exporter] Copying SBOM launcher.sbom.syft.json to /layers/sbom/launch/buildpacksio_lifecycle/launcher/sbom.syft.json
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Reading buildpack directory item: helper.sbom.syft.json
[exporter] Reading buildpack directory item: helper.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Processing launch layer: /layers/paketo-buildpacks_ca-certificates/helper
[exporter] Reusing layer 'paketo-buildpacks/ca-certificates:helper'
[exporter] Layer 'paketo-buildpacks/ca-certificates:helper' SHA: sha256:a0eecda298c6a63198c388e150a9a38f834507612ae1adfc298d88c4b1a0c47d
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Reading buildpack directory item: build.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Reading buildpack directory item: node
[exporter] Reading buildpack directory item: node.sbom.cdx.json
[exporter] Reading buildpack directory item: node.sbom.spdx.json
[exporter] Reading buildpack directory item: node.sbom.syft.json
[exporter] Reading buildpack directory item: node.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Processing launch layer: /layers/paketo-buildpacks_node-engine/node
[exporter] Reusing tarball for layer "paketo-buildpacks/node-engine:node" with SHA: sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67
[exporter] Reusing layer 'paketo-buildpacks/node-engine:node'
[exporter] Layer 'paketo-buildpacks/node-engine:node' SHA: sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Reading buildpack directory item: launch-modules
[exporter] Reading buildpack directory item: launch-modules.sbom.cdx.json
[exporter] Reading buildpack directory item: launch-modules.sbom.spdx.json
[exporter] Reading buildpack directory item: launch-modules.sbom.syft.json
[exporter] Reading buildpack directory item: launch-modules.toml
[exporter] Reading buildpack directory item: npm-cache
[exporter] Reading buildpack directory item: npm-cache.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Processing launch layer: /layers/paketo-buildpacks_npm-install/launch-modules
[exporter] Reusing tarball for layer "paketo-buildpacks/npm-install:launch-modules" with SHA: sha256:4a6cb7c82b6b96d5f6e2876c2f8e6c525e3527a98cbdce0daaf5328c3b854cc2
[exporter] Reusing layer 'paketo-buildpacks/npm-install:launch-modules'
[exporter] Layer 'paketo-buildpacks/npm-install:launch-modules' SHA: sha256:4a6cb7c82b6b96d5f6e2876c2f8e6c525e3527a98cbdce0daaf5328c3b854cc2
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-start
[exporter] Reading buildpack directory item: launch.toml
[exporter] Processing buildpack directory: /layers/paketo-buildpacks_npm-start
[exporter] Found SBOM of type launch for at /layers/sbom/launch
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:launch.sbom" with SHA: sha256:76b46069d4bd722e29e9ca317ac2acb2eab6167de072faf715cfb1b640830acb
[exporter] Reusing layer 'buildpacksio/lifecycle:launch.sbom'
[exporter] Layer 'buildpacksio/lifecycle:launch.sbom' SHA: sha256:76b46069d4bd722e29e9ca317ac2acb2eab6167de072faf715cfb1b640830acb
[exporter] Layer 'slice-1' SHA: sha256:bd255f5d35e8347cbe67e096c738ea90278df0470ca6d3f8da7379553673271c
[exporter] Reusing 1/1 app layer(s)
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:launcher" with SHA: sha256:8812c86dc680eff86adb495d4be1891b3f209f7af25ae9a389cb433c3f3748ea
[exporter] Reusing layer 'buildpacksio/lifecycle:launcher'
[exporter] Layer 'buildpacksio/lifecycle:launcher' SHA: sha256:8812c86dc680eff86adb495d4be1891b3f209f7af25ae9a389cb433c3f3748ea
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:config" with SHA: sha256:9e176cc475d7e4e9d69ee7151f9e709b07c349850a23ba61b0da50b0135fa85d
[exporter] Reusing layer 'buildpacksio/lifecycle:config'
[exporter] Layer 'buildpacksio/lifecycle:config' SHA: sha256:9e176cc475d7e4e9d69ee7151f9e709b07c349850a23ba61b0da50b0135fa85d
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:process-types" with SHA: sha256:83d85471d9f8a3834b4e27cf701e3f0aef220cc816d9c173c7d32cd73909a590
[exporter] Reusing layer 'buildpacksio/lifecycle:process-types'
[exporter] Layer 'buildpacksio/lifecycle:process-types' SHA: sha256:83d85471d9f8a3834b4e27cf701e3f0aef220cc816d9c173c7d32cd73909a590
[exporter] Adding label 'io.buildpacks.lifecycle.metadata'
[exporter] Adding label 'io.buildpacks.build.metadata'
[exporter] Adding label 'io.buildpacks.project.metadata'
[exporter] Setting CNB_LAYERS_DIR=/layers
[exporter] Setting CNB_APP_DIR=/workspace
[exporter] Setting CNB_PLATFORM_API=0.11
[exporter] Setting CNB_DEPRECATION_MODE=quiet
[exporter] Prepending /cnb/process and /cnb/lifecycle to PATH
[exporter] Setting WORKDIR: '/workspace'
[exporter] Setting default process type 'web'
[exporter] Setting ENTRYPOINT: '/cnb/process/web'
[exporter] Saving ghcr.io/stb1337/ai-db...
[exporter] *** Images (9d2cdecb7148):
[exporter] ghcr.io/stb1337/ai-db
[exporter]
[exporter] *** Image ID: 9d2cdecb71484a6cf08f2272c5079ae06814976fff88883590c83296a6f4b2c0
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_ca-certificates
[exporter] Reading buildpack directory item: helper.sbom.syft.json
[exporter] Reading buildpack directory item: helper.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_node-engine
[exporter] Reading buildpack directory item: build.toml
[exporter] Reading buildpack directory item: launch.toml
[exporter] Reading buildpack directory item: node
[exporter] Reading buildpack directory item: node.sbom.cdx.json
[exporter] Reading buildpack directory item: node.sbom.spdx.json
[exporter] Reading buildpack directory item: node.sbom.syft.json
[exporter] Reading buildpack directory item: node.toml
[exporter] Reusing tarball for layer "paketo-buildpacks/node-engine:node" with SHA: sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67
[exporter] Reusing cache layer 'paketo-buildpacks/node-engine:node'
[exporter] Layer 'paketo-buildpacks/node-engine:node' SHA: sha256:b407d89ad6778af7e69ae2569cf2c49ddf92bc1770e4825ffc0140d725910e67
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-install
[exporter] Reading buildpack directory item: launch-modules
[exporter] Reading buildpack directory item: launch-modules.sbom.cdx.json
[exporter] Reading buildpack directory item: launch-modules.sbom.spdx.json
[exporter] Reading buildpack directory item: launch-modules.sbom.syft.json
[exporter] Reading buildpack directory item: launch-modules.toml
[exporter] Reading buildpack directory item: npm-cache
[exporter] Reading buildpack directory item: npm-cache.toml
[exporter] Adding cache layer 'paketo-buildpacks/npm-install:npm-cache'
[exporter] Layer 'paketo-buildpacks/npm-install:npm-cache' SHA: sha256:80e3a5bd30e076d4fc2bb7ee0914ea7e6d0802ca0f947186183346f79e1ad95d
[exporter] Reading buildpack directory: /layers/paketo-buildpacks_npm-start
[exporter] Reading buildpack directory item: launch.toml
[exporter] Found SBOM of type cache for at /layers/sbom/cache
[exporter] Reusing tarball for layer "buildpacksio/lifecycle:cache.sbom" with SHA: sha256:6db1a451b7c2f3ddf63ef9e0d3f5b765cbdfd71242983fe158edc8d32b5051ab
[exporter] Reusing cache layer 'buildpacksio/lifecycle:cache.sbom'
[exporter] Layer 'buildpacksio/lifecycle:cache.sbom' SHA: sha256:6db1a451b7c2f3ddf63ef9e0d3f5b765cbdfd71242983fe158edc8d32b5051ab
Successfully built image ghcr.io/stb1337/ai-db
> btp-cap-genai-rag@1.0.0 build:router
> cross-env-shell docker build -t $IMAGE_PREFIX/ai-router ../../code/router
[+] Building 1.2s (10/10) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 205B 0.1s
=> [internal] load metadata for docker.io/sapse/approuter:14.3.4 0.9s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 98B 0.0s
=> [1/5] FROM docker.io/sapse/approuter:14.3.4@sha256:22994b1d2d04b7406a88e6e6324701f06ab7b0b7ac33b5e1fdff904f07788c7f 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 653B 0.0s
=> CACHED [2/5] RUN mkdir -p /app 0.0s
=> CACHED [3/5] RUN chown node.node /app 0.0s
=> CACHED [4/5] WORKDIR /app 0.0s
=> CACHED [5/5] COPY . . 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:5dd998dee2fe23203b70a5174f309c39f9964f0cca8280beb88171491a4d8974 0.0s
=> => naming to ghcr.io/stb1337/ai-router 0.0s
> btp-cap-genai-rag@1.0.0 build:html5-deployer
> cross-env-shell docker build -t $IMAGE_PREFIX/ai-html5-deployer ../../code/app/html5-deployer
[+] Building 1.0s (10/10) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 209B 0.0s
=> [internal] load metadata for docker.io/sapse/html5-app-deployer:5.0.0 0.9s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 90B 0.0s
=> [1/5] FROM docker.io/sapse/html5-app-deployer:5.0.0@sha256:e8049a02b59ddbfba5be72d78dc917432b5f0b93cb5b7481a647925d5e3f115c 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 120.70kB 0.0s
=> CACHED [2/5] RUN mkdir -p /app 0.0s
=> CACHED [3/5] RUN chown node.node /app 0.0s
=> CACHED [4/5] WORKDIR /app 0.0s
=> [5/5] COPY . . 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:00120c06d9796b6ef188f735e0fc613e769cc05e8928caa1e45cdaf70dc2e98d 0.0s
=> => naming to ghcr.io/stb1337/ai-html5-deployer
Seems like the images were build successfully:
docker images | grep stb1337
ghcr.io/stb1337/ai-html5-deployer latest 00120c06d979 3 minutes ago 185MB
ghcr.io/stb1337/ai-router latest 5dd998dee2fe About an hour ago 201MB
ghcr.io/stb1337/ai-db latest 9d2cdecb7148 44 years ago 463MB
ghcr.io/stb1337/ai-srv latest 73f97d4d2a21 44 years ago 94.9MB
When running the image ai-srv
locally or in a Kyma cluster, I get this error: ERROR: failed to launch: determine start command: when there is no default process a command is required
Thanks for your contribution!
I try to build docker images as documented here -> https://github.com/SAP-samples/btp-cap-genai-rag/blob/main/docs/tutorial/3-deploy/1-BuildTheComponents.md