ARCHIVED: This repository has been relocated to the samples repo.
buildpacks / sample-java-app Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
ARCHIVED: This repository has been relocated to the samples repo.
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
.
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.
*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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.