Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Windows error pack build app #1

Open
ericis opened this issue May 29, 2019 · 1 comment
Open

Windows error pack build app #1

ericis opened this issue May 29, 2019 · 1 comment

Comments

@ericis
Copy link

ericis commented May 29, 2019

Following the "get started" tutorial: https://buildpacks.io/docs/app-journey/

*Fresh clone of this repository today.

I've tried Windows Command Line as well as a Git Bash terminal for Windows 2.19.1.

  • Windows 10 Professional
  • pack version -> v0.2.0 (git sha: 6ef61143dfbc67975841c55e34ef0fceef0af88c)
  • docker --version -> Docker version 18.09.2, build 6247962

What else do you need? I will also try Windows Sub-system for Linux and update this issue.

Logs

*I will submit a separate issue for the odd console output of the characters, but I think that is a bug for pack.

$ pack build myapp
?[90m?[0mUsing default builder image ?[94mcloudfoundry/cnb:cflinuxfs3?[0m
?[90m?[0mPulling image ?[94mindex.docker.io/cloudfoundry/cnb:cflinuxfs3?[0m
cflinuxfs3: Pulling from cloudfoundry/cnb
Digest: sha256:758bd1a261e384f0a5495db89cca9ba447dddda00ab60f9d47fe8f788efa4d4e
Status: Image is up to date for cloudfoundry/cnb:cflinuxfs3
?[90m?[0mSelected run image ?[94mcfbuildpacks/cflinuxfs3-cnb-experimental:run?[0m from builder
?[90m?[0mPulling image ?[94mcfbuildpacks/cflinuxfs3-cnb-experimental:run?[0m
run: Pulling from cfbuildpacks/cflinuxfs3-cnb-experimental
Digest: sha256:8af4e9c5a23a9d2f892cf9a79f768231874911ba0b744f8f712f53f4bc978acc
Status: Image is up to date for cfbuildpacks/cflinuxfs3-cnb-experimental:run
?[90m?[0mUsing build cache image ?[94mpack-cache-40a311b545d7?[0m
?[90m?[0mWarning: lifecycle version unknown
?[90m?[0m?[36m===> DETECTING?[0m
?[90m?[0m[?[36mdetector?[0m] Trying group of 8...
?[90m?[0m[?[36mdetector?[0m] ======== Results ========
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry OpenJDK Buildpack: pass
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry Build System Buildpack: pass
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry JVM Application Buildpack: pass
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry Azure Application Insights Buildpack: skip
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry Debug Buildpack: skip
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry Google Stackdriver Buildpack: skip
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry JMX Buildpack: skip
?[90m?[0m[?[36mdetector?[0m] Cloud Foundry Procfile Buildpack: skip
?[90m?[0m?[36m===> RESTORING?[0m
?[90m?[0m[?[36mrestorer?[0m] cache image 'pack-cache-40a311b545d7' not found, nothing to restore
?[90m?[0m?[36m===> ANALYZING?[0m
?[90m?[0m[?[36manalyzer?[0m] WARNING: image 'index.docker.io/library/myapp:latest' not found or requires authentication to access
?[90m?[0m[?[36manalyzer?[0m] WARNING: image 'index.docker.io/library/myapp:latest' has incompatible 'io.buildpacks.lifecycle.metadata' label
?[90m?[0m?[36m===> BUILDING?[0m
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m ?[34;1mCloud Foundry OpenJDK Buildpack?[0m ?[34m1.0.0-M6?[0m
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m ?[34;1mOpenJDK JDK?[0m ?[34m11.0.2?[0m: ?[33mContributing?[0m to layer
?[90m?[0m[?[36mbuilder?[0m]        ?[33mDownloading?[0m from https://java-buildpack.cloudfoundry.org/openjdk-jdk/bionic/x86_64/openjdk-11.0.2_09.tar.gz
?[90m?[0m[?[36mbuilder?[0m]        Verifying checksum
?[90m?[0m[?[36mbuilder?[0m]        Expanding to /layers/org.cloudfoundry.openjdk/openjdk-jdk
?[90m?[0m[?[36mbuilder?[0m]        Writing JAVA_HOME to build
?[90m?[0m[?[36mbuilder?[0m]        Writing JDK_HOME to build
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m ?[34;1mOpenJDK JRE?[0m ?[34m11.0.2?[0m: ?[33mContributing?[0m to layer
?[90m?[0m[?[36mbuilder?[0m]        ?[33mDownloading?[0m from https://java-buildpack.cloudfoundry.org/openjdk/bionic/x86_64/openjdk-11.0.2_09.tar.gz
?[90m?[0m[?[36mbuilder?[0m]        Verifying checksum
?[90m?[0m[?[36mbuilder?[0m]        Expanding to /layers/org.cloudfoundry.openjdk/openjdk-jre
?[90m?[0m[?[36mbuilder?[0m]        Writing JAVA_HOME to shared
?[90m?[0m[?[36mbuilder?[0m]
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m ?[34;1mCloud Foundry Build System Buildpack?[0m ?[34m1.0.0-M6?[0m
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m Using wrapper
?[90m?[0m[?[36mbuilder?[0m]        Linking Cache to /home/vcap/.m2
?[90m?[0m[?[36mbuilder?[0m] ?[31;1m----->?[0m ?[34;1mCompiled Application?[0m: ?[33mContributing?[0m to layer
?[90m?[0m[?[36mbuilder?[0m] fork/exec /workspace/mvnw: permission denied
?[90m?[0m[?[36mbuilder?[0m] Error: failed to : exit status 103
?[90m?[0m
?[31;1mERROR: ?[0mfailed with status code: 7
@JJWTimmer
Copy link

I used the 2nd listed buildpack (cf including python). When I switched to heroku/buildpacks it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants