Skip to content

Instantly share code, notes, and snippets.

@nebhale
Last active July 2, 2020 15:17
Show Gist options
  • Save nebhale/b6b3d559f29695371d9c732726bb9385 to your computer and use it in GitHub Desktop.
Save nebhale/b6b3d559f29695371d9c732726bb9385 to your computer and use it in GitHub Desktop.
➜ ~/D/demo pack build applications/test --builder cloudfoundry/cnb:bionic --path .
bionic: Pulling from cloudfoundry/cnb
Digest: sha256:c8a4e4b7a6fe3aaeb4faa7731fcacae8fb91ea90e220506970e12c5a0515f3d4
Status: Downloaded newer image for cloudfoundry/cnb:bionic
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:1a37642c23a2e44231bdbcfca228d20f09425ff312736e96252c7299520e5044
Status: Downloaded newer image for paketobuildpacks/run:base-cnb
0.8.0: Pulling from buildpacksio/lifecycle
Digest: sha256:48dfb79e342fdeb68a1bf310b33b349269b2919cb5029e0b7184b84e82fc0bb3
Status: Downloaded newer image for buildpacksio/lifecycle:0.8.0
===> DETECTING
[detector] 6 of 15 buildpacks participating
[detector] paketo-buildpacks/bellsoft-liberica 2.8.0
[detector] paketo-buildpacks/gradle 1.4.0
[detector] paketo-buildpacks/executable-jar 1.2.7
[detector] paketo-buildpacks/apache-tomcat 1.3.0
[detector] paketo-buildpacks/dist-zip 1.3.5
[detector] paketo-buildpacks/spring-boot 1.9.0
===> ANALYZING
[analyzer] Previous image with name "index.docker.io/applications/test:latest" not found
===> RESTORING
===> BUILDING
[builder]
[builder] Paketo BellSoft Liberica Buildpack 2.8.0
[builder] https://github.com/paketo-buildpacks/bellsoft-liberica
[builder] Build Configuration:
[builder] $BP_JVM_VERSION 11.* the Java version
[builder] Launch Configuration:
[builder] $BPL_JVM_HEAD_ROOM 0 the headroom in memory calculation
[builder] $BPL_JVM_LOADED_CLASS_COUNT 35% of classes the number of loaded classes in memory calculation
[builder] $BPL_JVM_THREAD_COUNT 250 the number of threads in memory calculation
[builder] BellSoft Liberica JDK 11.0.7: Contributing to layer
[builder] Downloading from https://github.com/bell-sw/Liberica/releases/download/11.0.7+10/bellsoft-jdk11.0.7+10-linux-amd64.tar.gz
[builder] Verifying checksum
[builder] Expanding to /layers/paketo-buildpacks_bellsoft-liberica/jdk
[builder] Adding 127 container CA certificates to JVM truststore
[builder] Writing env.build/JAVA_HOME.override
[builder] Writing env.build/JDK_HOME.override
[builder] BellSoft Liberica JRE 11.0.7: Contributing to layer
[builder] Downloading from https://github.com/bell-sw/Liberica/releases/download/11.0.7+10/bellsoft-jre11.0.7+10-linux-amd64.tar.gz
[builder] Verifying checksum
[builder] Expanding to /layers/paketo-buildpacks_bellsoft-liberica/jre
[builder] Writing env.launch/JAVA_HOME.override
[builder] Writing env.launch/MALLOC_ARENA_MAX.override
[builder] Writing profile.d/active-processor-count.sh
[builder] Memory Calculator 4.0.0: Contributing to layer
[builder] Downloading from https://github.com/cloudfoundry/java-buildpack-memory-calculator/releases/download/v4.0.0/memory-calculator-4.0.0.tgz
[builder] Verifying checksum
[builder] Expanding to /layers/paketo-buildpacks_bellsoft-liberica/memory-calculator
[builder] Writing profile.d/memory-calculator.sh
[builder] Class Counter: Contributing to layer
[builder] Copying to /layers/paketo-buildpacks_bellsoft-liberica/class-counter
[builder] JVMKill Agent 1.16.0: Contributing to layer
[builder] Downloading from https://github.com/cloudfoundry/jvmkill/releases/download/v1.16.0.RELEASE/jvmkill-1.16.0-RELEASE.so
[builder] Verifying checksum
[builder] Copying to /layers/paketo-buildpacks_bellsoft-liberica/jvmkill
[builder] Writing env.launch/JAVA_OPTS.append
[builder] Link-Local DNS: Contributing to layer
[builder] Copying to /layers/paketo-buildpacks_bellsoft-liberica/link-local-dns
[builder] Writing profile.d/link-local-dns.sh
[builder] Java Security Properties: Contributing to layer
[builder] Writing env.launch/JAVA_OPTS.append
[builder] Writing env.launch/JAVA_SECURITY_PROPERTIES.override
[builder] Security Providers Configurer: Contributing to layer
[builder] Copying to /layers/paketo-buildpacks_bellsoft-liberica/security-providers-configurer
[builder] Writing profile.d/security-providers-classpath.sh
[builder] Writing profile.d/security-providers-configurer.sh
[builder] OpenSSL Certificate Loader: Contributing to layer
[builder] Copying to /layers/paketo-buildpacks_bellsoft-liberica/openssl-security-provider
[builder] Writing profile.d/openssl-certificate-loader.sh
[builder]
[builder] Paketo Gradle Buildpack 1.4.0
[builder] https://github.com/paketo-buildpacks/gradle
[builder] Build Configuration:
[builder] $BP_GRADLE_BUILD_ARGUMENTS --no-daemon -x test build the arguments to pass to Maven
[builder] $BP_GRADLE_BUILT_ARTIFACT build/libs/*.[jw]ar the built application artifact explicitly. Supersedes $BP_GRADLE_BUILT_MODULE
[builder] $BP_GRADLE_BUILT_MODULE the module to find application artifact in
[builder] Creating cache directory /home/cnb/.gradle
[builder] Compiled Application: Contributing to layer
[builder] Executing gradlew --no-daemon -x test build
[builder] Downloading https://services.gradle.org/distributions/gradle-5.6.4-bin.zip
[builder] .........................................................................................
[builder]
[builder] Welcome to Gradle 5.6.4!
[builder]
[builder] Here are the highlights of this release:
[builder] - Incremental Groovy compilation
[builder] - Groovy compile avoidance
[builder] - Test fixtures for Java projects
[builder] - Manage plugin versions via settings script
[builder]
[builder] For more details see https://docs.gradle.org/5.6.4/release-notes.html
[builder]
[builder] WARNING: An illegal reflective access operation has occurred
[builder] WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/cnb/.gradle/wrapper/dists/gradle-5.6.4-bin/bxirm19lnfz6nurbatndyydux/gradle-5.6.4/lib/groovy-all-1.3-2.5.4.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
[builder] WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
[builder] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[builder] WARNING: All illegal access operations will be denied in a future release
[builder] > Task :compileJava
[builder] > Task :processResources
[builder] > Task :classes
[builder] > Task :bootJar
[builder] > Task :jar SKIPPED
[builder] > Task :assemble
[builder] > Task :check
[builder] > Task :build
[builder]
[builder] BUILD SUCCESSFUL in 28s
[builder] 3 actionable tasks: 3 executed
[builder] Removing source code
[builder]
[builder] Paketo Executable JAR Buildpack 1.2.7
[builder] https://github.com/paketo-buildpacks/executable-jar
[builder] Writing env.launch/CLASSPATH
[builder] Process types:
[builder] executable-jar: java -cp "${CLASSPATH}" ${JAVA_OPTS} org.springframework.boot.loader.JarLauncher
[builder] task: java -cp "${CLASSPATH}" ${JAVA_OPTS} org.springframework.boot.loader.JarLauncher
[builder] web: java -cp "${CLASSPATH}" ${JAVA_OPTS} org.springframework.boot.loader.JarLauncher
[builder]
[builder] Paketo Spring Boot Buildpack 1.9.0
[builder] https://github.com/paketo-buildpacks/spring-boot
[builder] Build Configuration:
[builder] $BP_BOOT_NATIVE_IMAGE the build to create a native image (requires GraalVM)
[builder] $BP_BOOT_NATIVE_IMAGE_BUILD_ARGUMENTS the arguments to pass to the native-image command
[builder] This application uses Spring Boot 2.1.5.RELEASE. Open Source updates for 2.1.x ended on 2019-10-01.
[builder] Web Application Type: Contributing to layer
[builder] Non-web application detected
[builder] Writing env.launch/BPL_JVM_THREAD_COUNT.default
[builder] Image labels:
[builder] org.springframework.boot.spring-configuration-metadata.json
[builder] org.springframework.boot.version
===> EXPORTING
[exporter] Adding layer 'launcher'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:class-counter'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:java-security-properties'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:jre'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:jvmkill'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:link-local-dns'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:memory-calculator'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:openssl-security-provider'
[exporter] Adding layer 'paketo-buildpacks/bellsoft-liberica:security-providers-configurer'
[exporter] Adding layer 'paketo-buildpacks/executable-jar:class-path'
[exporter] Adding layer 'paketo-buildpacks/spring-boot:web-application-type'
[exporter] Adding 1/1 app layer(s)
[exporter] Adding layer 'config'
[exporter] *** Images (a36d5a2b3ed7):
[exporter] index.docker.io/applications/test:latest
[exporter] Adding cache layer 'paketo-buildpacks/bellsoft-liberica:jdk'
[exporter] Adding cache layer 'paketo-buildpacks/gradle:application'
[exporter] Adding cache layer 'paketo-buildpacks/gradle:cache'
Successfully built image applications/test
Time: 0h:01m:31s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment