From 27b16e7a92ca5460947cd504df9399607c63ace0 Mon Sep 17 00:00:00 2001 From: "heroku-linguist[bot]" <136119646+heroku-linguist[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 09:28:18 -0500 Subject: [PATCH] Update tutorials (#77) Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com> --- docs/dotnet/README.md | 44 ++++--- docs/go/README.md | 19 +-- docs/java_gradle/README.md | 35 ++--- docs/java_maven/README.md | 96 +++++++------- docs/nodejs/README.md | 19 +-- docs/php/README.md | 15 ++- docs/python/README.md | 23 ++-- docs/ruby/README.md | 264 +++++++++++++++++++------------------ docs/scala/README.md | 31 +++-- 9 files changed, 288 insertions(+), 258 deletions(-) diff --git a/docs/dotnet/README.md b/docs/dotnet/README.md index db98f63..ef08c7b 100644 --- a/docs/dotnet/README.md +++ b/docs/dotnet/README.md @@ -129,7 +129,7 @@ Image with name "my-image-name" not found ===> DETECTING 2 of 3 buildpacks participating heroku/dotnet 0.1.9 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -142,7 +142,7 @@ Skipping buildpack layer analysis - Detected version requirement: `^8.0` - Resolved .NET SDK version `8.0.404` (linux-amd64) - SDK installation - - Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.5s) + - Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.7s) - Verifying SDK checksum - Installing SDK - Publish solution @@ -150,7 +150,7 @@ Skipping buildpack layer analysis - Running `dotnet publish /workspace/GettingStarted.sln --runtime linux-x64 "-p:PublishDir=bin/publish"` Determining projects to restore... - Restored /workspace/Frontend/Frontend.csproj (in 10.85 sec). + Restored /workspace/Frontend/Frontend.csproj (in 11.42 sec). Frontend -> /workspace/Frontend/bin/Release/net8.0/linux-x64/Frontend.dll Frontend -> /workspace/Frontend/bin/publish/ Restoring .NET tools @@ -164,14 +164,17 @@ Skipping buildpack layer analysis Done. Migrations Bundle: /workspace/Frontend/bin/publish/efbundle Don't forget to copy appsettings.json alongside your bundle if you need it to apply migrations. - - Done (27.7s) + - Done (28.5s) - Setting launch table - Detecting process types from published artifacts - Added `Frontend`: bash -c cd Frontend/bin/publish; ./Frontend --urls http://*:$PORT -- Done (finished in 31.7s) +- Done (finished in 32.6s) -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `cd Frontend/bin/publish/; ./Frontend --urls http://*:$PORT` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/dotnet:runtime' Adding layer 'buildpacksio/lifecycle:launch.sbom' @@ -184,7 +187,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (460038f7aef8): +*** Images (934d2192b298): my-image-name Adding cache layer 'heroku/dotnet:nuget-cache' Adding cache layer 'heroku/dotnet:sdk' @@ -199,7 +202,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -460038f7aef8 my-image-name latest +934d2192b298 my-image-name latest ``` ## What does `pack build` do? @@ -214,7 +217,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script ===> DETECTING 2 of 3 buildpacks participating heroku/dotnet 0.1.9 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ``` @@ -239,7 +242,7 @@ $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60] Storing keys in a directory '/home/heroku/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] - No XML encryptor configured. Key {870dba38-88f8-4e25-a58c-ef9523d2d0fb} may be persisted to storage in unencrypted form. + No XML encryptor configured. Key {95818f5f-5e43-4786-bcd2-086ffcfd1654} may be persisted to storage in unencrypted form. info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:5006 info: Microsoft.Hosting.Lifetime[0] @@ -393,7 +396,7 @@ Image with name "my-image-name" not found ===> DETECTING heroku/python 0.21.0 heroku/dotnet 0.1.9 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -421,7 +424,7 @@ Running 'pip install -r requirements.txt' - Detected version requirement: `^8.0` - Resolved .NET SDK version `8.0.404` (linux-amd64) - SDK installation - - Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.6s) + - Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.9s) - Verifying SDK checksum - Installing SDK - Publish solution @@ -429,7 +432,7 @@ Running 'pip install -r requirements.txt' - Running `dotnet publish /workspace/GettingStarted.sln --runtime linux-x64 "-p:PublishDir=bin/publish"` Determining projects to restore... - Restored /workspace/Frontend/Frontend.csproj (in 15.61 sec). + Restored /workspace/Frontend/Frontend.csproj (in 11.57 sec). Frontend -> /workspace/Frontend/bin/Release/net8.0/linux-x64/Frontend.dll Frontend -> /workspace/Frontend/bin/publish/ Restoring .NET tools @@ -443,14 +446,17 @@ Running 'pip install -r requirements.txt' Done. Migrations Bundle: /workspace/Frontend/bin/publish/efbundle Don't forget to copy appsettings.json alongside your bundle if you need it to apply migrations. - - Done (32.3s) + - Done (28.3s) - Setting launch table - Detecting process types from published artifacts - Added `Frontend`: bash -c cd Frontend/bin/publish; ./Frontend --urls http://*:$PORT -- Done (finished in 36.3s) +- Done (finished in 32.6s) + +## Procfile Buildpack -[Discovering process types] -Procfile declares types -> web +- Processes from `Procfile` + - web: `cd Frontend/bin/publish/; ./Frontend --urls http://*:$PORT` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/python:python' Adding layer 'heroku/python:venv' @@ -465,7 +471,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (213140c1c125): +*** Images (937703a6ee96): my-image-name Adding cache layer 'heroku/python:pip' Adding cache layer 'heroku/python:pip-cache' diff --git a/docs/go/README.md b/docs/go/README.md index 57ccca5..fdbe8f1 100644 --- a/docs/go/README.md +++ b/docs/go/README.md @@ -135,7 +135,7 @@ Image with name "my-image-name" not found ===> DETECTING 2 of 3 buildpacks participating heroku/go 0.5.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -155,8 +155,11 @@ Building packages: - github.com/heroku/go-getting-started Skipping launch process registration (Procfile detected) -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `go-getting-started` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/go:go_target' Adding layer 'buildpacksio/lifecycle:launch.sbom' @@ -169,7 +172,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (8310503d57b9): +*** Images (4280729e8ce2): my-image-name Adding cache layer 'heroku/go:go_build' Adding cache layer 'heroku/go:go_dist' @@ -184,7 +187,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -8310503d57b9 my-image-name latest +4280729e8ce2 my-image-name latest ``` ## What does `pack build` do? @@ -199,7 +202,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script ===> DETECTING 2 of 3 buildpacks participating heroku/go 0.5.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ``` @@ -226,10 +229,10 @@ $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] Loaded HTML Templates (4): - - - - header.tmpl.html - index.tmpl.html - nav.tmpl.html + - + - header.tmpl.html [GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers) [GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers) diff --git a/docs/java_gradle/README.md b/docs/java_gradle/README.md index 5d0b473..e823ff5 100644 --- a/docs/java_gradle/README.md +++ b/docs/java_gradle/README.md @@ -134,7 +134,7 @@ Image with name "my-image-name" not found 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/gradle 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -167,8 +167,11 @@ BUILD SUCCESSFUL in 6s 5 actionable tasks: 5 executed Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `java -jar build/libs/java-getting-started-gradle-1.0.0-SNAPSHOT.jar` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/jvm:openjdk' Adding layer 'heroku/jvm:runtime' @@ -183,7 +186,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (ba902c19a946): +*** Images (837787fc6af2): my-image-name Adding cache layer 'heroku/jvm:openjdk' Adding cache layer 'heroku/gradle:home' @@ -198,7 +201,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -ba902c19a946 my-image-name latest +837787fc6af2 my-image-name latest ``` ## What does `pack build` do? @@ -214,7 +217,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/gradle 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING ``` @@ -245,16 +248,16 @@ Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80.0 -Dfile.encoding=UTF-8 :: Built with Spring Boot :: 3.3.5 -2024-12-18T16:38:02.994Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/build/libs/java-getting-started-gradle-1.0.0-SNAPSHOT.jar started by heroku in /workspace) -2024-12-18T16:38:03.001Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default" -2024-12-18T16:38:04.075Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http) -2024-12-18T16:38:04.090Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] -2024-12-18T16:38:04.090Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31] -2024-12-18T16:38:04.128Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext -2024-12-18T16:38:04.130Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1052 ms -2024-12-18T16:38:04.260Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index -2024-12-18T16:38:04.595Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/' -2024-12-18T16:38:04.612Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 2.006 seconds (process running for 2.471) +2024-12-23T00:33:56.722Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/build/libs/java-getting-started-gradle-1.0.0-SNAPSHOT.jar started by heroku in /workspace) +2024-12-23T00:33:56.726Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default" +2024-12-23T00:33:57.773Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http) +2024-12-23T00:33:57.787Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-12-23T00:33:57.788Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31] +2024-12-23T00:33:57.827Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-12-23T00:33:57.828Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1041 ms +2024-12-23T00:33:57.958Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index +2024-12-23T00:33:58.308Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/' +2024-12-23T00:33:58.325Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 2.008 seconds (process running for 2.467) ``` diff --git a/docs/java_maven/README.md b/docs/java_maven/README.md index 49d862f..f9c5b62 100644 --- a/docs/java_maven/README.md +++ b/docs/java_maven/README.md @@ -133,7 +133,7 @@ Image with name "my-image-name" not found 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/maven 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -148,68 +148,68 @@ $ ./mvnw -DskipTests clean install Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [INFO] Scanning for projects... [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/3.3.5/spring-boot-starter-parent-3.3.5.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/3.3.5/spring-boot-starter-parent-3.3.5.pom (13 kB at 185 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/3.3.5/spring-boot-starter-parent-3.3.5.pom (13 kB at 153 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/3.3.5/spring-boot-dependencies-3.3.5.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/3.3.5/spring-boot-dependencies-3.3.5.pom (100 kB at 5.0 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/3.3.5/spring-boot-dependencies-3.3.5.pom (100 kB at 3.4 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/activemq/activemq-bom/6.1.3/activemq-bom-6.1.3.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/activemq-bom/6.1.3/activemq-bom-6.1.3.pom (7.9 kB at 788 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/activemq-bom/6.1.3/activemq-bom-6.1.3.pom (7.9 kB at 358 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-bom/2.33.0/artemis-bom-2.33.0.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-bom/2.33.0/artemis-bom-2.33.0.pom (9.6 kB at 1.4 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-bom/2.33.0/artemis-bom-2.33.0.pom (9.6 kB at 507 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-project/2.33.0/artemis-project-2.33.0.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-project/2.33.0/artemis-project-2.33.0.pom (64 kB at 5.8 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/activemq/artemis-project/2.33.0/artemis-project-2.33.0.pom (64 kB at 1.2 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/31/apache-31.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/31/apache-31.pom (24 kB at 2.9 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/31/apache-31.pom (24 kB at 1.5 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-bom/3.25.3/assertj-bom-3.25.3.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-bom/3.25.3/assertj-bom-3.25.3.pom (3.7 kB at 461 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/assertj/assertj-bom/3.25.3/assertj-bom-3.25.3.pom (3.7 kB at 231 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/zipkin/reporter2/zipkin-reporter-bom/3.4.2/zipkin-reporter-bom-3.4.2.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/zipkin/reporter2/zipkin-reporter-bom/3.4.2/zipkin-reporter-bom-3.4.2.pom (6.4 kB at 800 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/zipkin/reporter2/zipkin-reporter-bom/3.4.2/zipkin-reporter-bom-3.4.2.pom (6.4 kB at 400 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/zipkin/brave/brave-bom/6.0.3/brave-bom-6.0.3.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/zipkin/brave/brave-bom/6.0.3/brave-bom-6.0.3.pom (11 kB at 1.8 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/io/zipkin/brave/brave-bom/6.0.3/brave-bom-6.0.3.pom (11 kB at 686 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/cassandra/java-driver-bom/4.18.1/java-driver-bom-4.18.1.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/cassandra/java-driver-bom/4.18.1/java-driver-bom-4.18.1.pom (5.5 kB at 683 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/cassandra/java-driver-bom/4.18.1/java-driver-bom-4.18.1.pom (5.5 kB at 321 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/4.0.5/jaxb-bom-4.0.5.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/4.0.5/jaxb-bom-4.0.5.pom (12 kB at 1.9 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/glassfish/jaxb/jaxb-bom/4.0.5/jaxb-bom-4.0.5.pom (12 kB at 728 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.9/project-1.0.9.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.9/project-1.0.9.pom (16 kB at 2.3 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/ee4j/project/1.0.9/project-1.0.9.pom (16 kB at 949 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/groovy/groovy-bom/4.0.23/groovy-bom-4.0.23.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/groovy/groovy-bom/4.0.23/groovy-bom-4.0.23.pom (27 kB at 3.4 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/groovy/groovy-bom/4.0.23/groovy-bom-4.0.23.pom (27 kB at 1.7 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-bom/15.0.10.Final/infinispan-bom-15.0.10.Final.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-bom/15.0.10.Final/infinispan-bom-15.0.10.Final.pom (18 kB at 1.7 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-bom/15.0.10.Final/infinispan-bom-15.0.10.Final.pom (18 kB at 957 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-build-configuration-parent/15.0.10.Final/infinispan-build-configuration-parent-15.0.10.Final.pom -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-build-configuration-parent/15.0.10.Final/infinispan-build-configuration-parent-15.0.10.Final.pom (19 kB at 1.2 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/infinispan/infinispan-build-configuration-parent/15.0.10.Final/infinispan-build-configuration-parent-15.0.10.Final.pom (19 kB at 1.1 MB/s) ... -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/velocity/velocity/1.7/velocity-1.7.jar (450 kB at 3.4 MB/s) -[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/4.8.0/plexus-archiver-4.8.0.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-chain/commons-chain/1.1/commons-chain-1.1.jar (90 kB at 652 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.23.0/commons-compress-1.23.0.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.1/dom4j-1.1.jar (457 kB at 3.3 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/oro/oro/2.0.8/oro-2.0.8.jar (65 kB at 340 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/github/luben/zstd-jni/1.5.5-5/zstd-jni-1.5.5-5.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/oro/oro/2.0.8/oro-2.0.8.jar (65 kB at 447 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.1/dom4j-1.1.jar (457 kB at 2.3 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/3.4.1/plexus-io-3.4.1.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/4.8.0/plexus-archiver-4.8.0.jar (224 kB at 1.5 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/4.8.0/plexus-archiver-4.8.0.jar (224 kB at 1.1 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar (12 kB at 74 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar (588 kB at 2.9 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-analyzer/1.13.2/maven-dependency-analyzer-1.13.2.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/3.4.1/plexus-io-3.4.1.jar (79 kB at 487 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-10/plexus-i18n-1.0-beta-10.jar (12 kB at 57 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/3.2.5/maven-model-3.2.5.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar (588 kB at 3.6 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/3.4.1/plexus-io-3.4.1.jar (79 kB at 374 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.13.1/maven-artifact-transfer-0.13.1.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-analyzer/1.13.2/maven-dependency-analyzer-1.13.2.jar (39 kB at 221 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-analyzer/1.13.2/maven-dependency-analyzer-1.13.2.jar (39 kB at 180 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.0.0/plexus-component-annotations-2.0.0.jar -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/3.2.5/maven-model-3.2.5.jar (161 kB at 898 kB/s) -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.23.0/commons-compress-1.23.0.jar (1.1 MB at 5.9 MB/s) -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.13.1/maven-artifact-transfer-0.13.1.jar (159 kB at 870 kB/s) -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.0.0/plexus-component-annotations-2.0.0.jar (4.2 kB at 23 kB/s) -[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/github/luben/zstd-jni/1.5.5-5/zstd-jni-1.5.5-5.jar (5.9 MB at 25 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.23.0/commons-compress-1.23.0.jar (1.1 MB at 4.8 MB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-artifact-transfer/0.13.1/maven-artifact-transfer-0.13.1.jar (159 kB at 699 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/3.2.5/maven-model-3.2.5.jar (161 kB at 702 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.0.0/plexus-component-annotations-2.0.0.jar (4.2 kB at 18 kB/s) +[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/github/luben/zstd-jni/1.5.5-5/zstd-jni-1.5.5-5.jar (5.9 MB at 19 MB/s) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ -[INFO] Total time: 3.922 s -[INFO] Finished at: 2024-12-18T16:36:34Z +[INFO] Total time: 4.895 s +[INFO] Finished at: 2024-12-23T00:32:23Z [INFO] ------------------------------------------------------------------------ -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `java -jar target/java-getting-started-1.0.0-SNAPSHOT.jar` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/jvm:openjdk' Adding layer 'heroku/jvm:runtime' @@ -223,7 +223,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (7741bdbc205f): +*** Images (5a186d0afe46): my-image-name Adding cache layer 'heroku/jvm:openjdk' Adding cache layer 'heroku/maven:repository' @@ -238,7 +238,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -7741bdbc205f my-image-name latest +5a186d0afe46 my-image-name latest ``` ## What does `pack build` do? @@ -254,7 +254,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/maven 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING ``` @@ -285,16 +285,16 @@ Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80.0 -Dfile.encoding=UTF-8 :: Built with Spring Boot :: 3.3.5 -2024-12-18T16:36:43.733Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/target/java-getting-started-1.0.0-SNAPSHOT.jar started by heroku in /workspace) -2024-12-18T16:36:43.737Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default" -2024-12-18T16:36:44.827Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http) -2024-12-18T16:36:44.840Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] -2024-12-18T16:36:44.841Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31] -2024-12-18T16:36:44.880Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext -2024-12-18T16:36:44.882Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1071 ms -2024-12-18T16:36:45.014Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index -2024-12-18T16:36:45.369Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/' -2024-12-18T16:36:45.388Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 2.059 seconds (process running for 2.515) +2024-12-23T00:32:31.993Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/target/java-getting-started-1.0.0-SNAPSHOT.jar started by heroku in /workspace) +2024-12-23T00:32:31.998Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default" +2024-12-23T00:32:33.031Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http) +2024-12-23T00:32:33.042Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2024-12-23T00:32:33.043Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31] +2024-12-23T00:32:33.074Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2024-12-23T00:32:33.075Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1005 ms +2024-12-23T00:32:33.190Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index +2024-12-23T00:32:33.486Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/' +2024-12-23T00:32:33.500Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 1.906 seconds (process running for 2.33) ``` diff --git a/docs/nodejs/README.md b/docs/nodejs/README.md index e2e330e..6a66402 100644 --- a/docs/nodejs/README.md +++ b/docs/nodejs/README.md @@ -132,7 +132,7 @@ Image with name "my-image-name" not found 3 of 6 buildpacks participating heroku/nodejs-engine 3.4.0 heroku/nodejs-npm-install 3.4.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -167,15 +167,18 @@ Installing application metrics scripts found 0 vulnerabilities - - Done (3.077s) + - Done (2.994s) - Running scripts - No build scripts found - Configuring default processes - Skipping default web process (Procfile detected) -- Done (finished in 3.516s) +- Done (finished in 3.421s) -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `node index.js` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/nodejs-engine:dist' Adding layer 'heroku/nodejs-engine:node_runtime_metrics' @@ -191,7 +194,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (afd3b27867b7): +*** Images (f7516b3ceda7): my-image-name Adding cache layer 'heroku/nodejs-engine:dist' Adding cache layer 'heroku/nodejs-npm-install:npm_cache' @@ -206,7 +209,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -afd3b27867b7 my-image-name latest +f7516b3ceda7 my-image-name latest ``` ## What does `pack build` do? @@ -222,7 +225,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script 3 of 6 buildpacks participating heroku/nodejs-engine 3.4.0 heroku/nodejs-npm-install 3.4.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING ``` diff --git a/docs/php/README.md b/docs/php/README.md index 20b2adf..fc2b01b 100644 --- a/docs/php/README.md +++ b/docs/php/README.md @@ -128,7 +128,7 @@ Image with name "my-image-name" not found ===> DETECTING 2 of 3 buildpacks participating heroku/php 0.2.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -287,8 +287,11 @@ Use the `composer fund` command to find out more! [Preparing Composer runtime environment] -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `heroku-php-apache2 web/` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/php:composer_env' Adding layer 'heroku/php:platform' @@ -303,7 +306,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (3a48d8b57a9a): +*** Images (51a9b4d3a319): my-image-name Adding cache layer 'heroku/php:composer_cache' Adding cache layer 'heroku/php:platform_cache' @@ -318,7 +321,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -3a48d8b57a9a my-image-name latest +51a9b4d3a319 my-image-name latest ``` ## What does `pack build` do? @@ -333,7 +336,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script ===> DETECTING 2 of 3 buildpacks participating heroku/php 0.2.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ``` diff --git a/docs/python/README.md b/docs/python/README.md index 010f664..2f8ca8f 100644 --- a/docs/python/README.md +++ b/docs/python/README.md @@ -132,7 +132,7 @@ Image with name "my-image-name" not found ===> DETECTING 2 of 3 buildpacks participating heroku/python 0.21.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -184,8 +184,11 @@ Running 'manage.py collectstatic' 1 static file symlinked to '/workspace/staticfiles', 1 post-processed. -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `gunicorn --config gunicorn.conf.py gettingstarted.wsgi` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/python:python' Adding layer 'heroku/python:venv' @@ -199,7 +202,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (dc3e8c763b7d): +*** Images (00b568a541bf): my-image-name Adding cache layer 'heroku/python:pip' Adding cache layer 'heroku/python:pip-cache' @@ -215,7 +218,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -dc3e8c763b7d my-image-name latest +00b568a541bf my-image-name latest ``` ## What does `pack build` do? @@ -230,7 +233,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script ===> DETECTING 2 of 3 buildpacks participating heroku/python 0.21.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ``` @@ -252,10 +255,10 @@ By default, images will be booted into a web server configuration. You can launc ``` $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name -[2024-12-18 16:34:50 +0000] [1] [INFO] Starting gunicorn 23.0.0 -[2024-12-18 16:34:50 +0000] [1] [INFO] Listening at: http://[::]:5006 (1) -[2024-12-18 16:34:50 +0000] [1] [INFO] Using worker: gthread -[2024-12-18 16:34:50 +0000] [11] [INFO] Booting worker with pid: 11 +[2024-12-23 00:30:32 +0000] [1] [INFO] Starting gunicorn 23.0.0 +[2024-12-23 00:30:32 +0000] [1] [INFO] Listening at: http://[::]:5006 (1) +[2024-12-23 00:30:32 +0000] [1] [INFO] Using worker: gthread +[2024-12-23 00:30:32 +0000] [11] [INFO] Booting worker with pid: 11 ``` diff --git a/docs/ruby/README.md b/docs/ruby/README.md index b12b873..71c6a28 100644 --- a/docs/ruby/README.md +++ b/docs/ruby/README.md @@ -140,7 +140,7 @@ Image with name "my-image-name" not found 3 of 6 buildpacks participating heroku/nodejs-engine 3.4.0 heroku/ruby 5.0.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -163,28 +163,28 @@ Installing application metrics scripts - Metrics agent - Skipping install (`barnes` gem not found) - Ruby version `3.2.4` from `Gemfile.lock` - - Installing ... (0.7s) + - Installing .... (1.5s) - Bundler version `2.5.9` from `Gemfile.lock` - - Running `gem install bundler --version 2.5.9` ... (0.5s) + - Running `gem install bundler --version 2.5.9` ... (0.4s) - Bundle install gems - Running `BUNDLE_BIN="/layers/heroku_ruby/gems/bin" BUNDLE_CLEAN="1" BUNDLE_DEPLOYMENT="1" BUNDLE_GEMFILE="/workspace/Gemfile" BUNDLE_PATH="/layers/heroku_ruby/gems" BUNDLE_WITHOUT="development:test" bundle install` Fetching gem metadata from https://rubygems.org/......... Fetching rake 13.2.1 Installing rake 13.2.1 + Fetching base64 0.2.0 Fetching bigdecimal 3.1.8 Fetching concurrent-ruby 1.2.3 Fetching connection_pool 2.4.1 - Fetching base64 0.2.0 Installing base64 0.2.0 - Installing connection_pool 2.4.1 Fetching drb 2.2.1 Installing bigdecimal 3.1.8 with native extensions + Installing connection_pool 2.4.1 Installing drb 2.2.1 Fetching minitest 5.23.0 Installing concurrent-ruby 1.2.3 - Installing minitest 5.23.0 Fetching mutex_m 0.2.0 + Installing minitest 5.23.0 Installing mutex_m 0.2.0 Fetching builder 3.2.4 Installing builder 3.2.4 @@ -192,8 +192,8 @@ Installing application metrics scripts Installing erubi 1.12.0 Fetching racc 1.7.3 Fetching crass 1.0.6 - Installing crass 1.0.6 Installing racc 1.7.3 with native extensions + Installing crass 1.0.6 Fetching rack 3.0.11 Installing rack 3.0.11 Fetching nio4r 2.7.3 @@ -285,49 +285,49 @@ Installing application metrics scripts Fetching rails-dom-testing 2.2.0 Installing rails-dom-testing 2.2.0 Fetching globalid 1.2.1 - Installing globalid 1.2.1 Fetching activemodel 7.1.3.2 - Installing activemodel 7.1.3.2 + Installing globalid 1.2.1 Fetching irb 1.13.1 + Installing activemodel 7.1.3.2 Installing irb 1.13.1 Fetching sdoc 2.6.1 - Installing sdoc 2.6.1 Fetching actionview 7.1.3.2 + Installing sdoc 2.6.1 Installing actionview 7.1.3.2 + Fetching rb-inotify 0.10.1 + Installing rb-inotify 0.10.1 Fetching activejob 7.1.3.2 + Fetching sassc 2.4.0 Installing activejob 7.1.3.2 + Installing sassc 2.4.0 with native extensions Fetching activerecord 7.1.3.2 Installing activerecord 7.1.3.2 Fetching actionpack 7.1.3.2 Installing actionpack 7.1.3.2 Fetching jbuilder 2.12.0 Installing jbuilder 2.12.0 + Fetching listen 3.9.0 + Installing listen 3.9.0 Fetching actioncable 7.1.3.2 Fetching activestorage 7.1.3.2 Installing actioncable 7.1.3.2 Installing activestorage 7.1.3.2 Fetching actionmailer 7.1.3.2 - Installing actionmailer 7.1.3.2 Fetching railties 7.1.3.2 + Installing actionmailer 7.1.3.2 + Installing railties 7.1.3.2 Fetching sprockets-rails 3.4.2 Installing sprockets-rails 3.4.2 - Fetching rb-inotify 0.10.1 - Installing railties 7.1.3.2 - Installing rb-inotify 0.10.1 - Fetching sassc 2.4.0 - Installing sassc 2.4.0 with native extensions Fetching actionmailbox 7.1.3.2 Installing actionmailbox 7.1.3.2 Fetching actiontext 7.1.3.2 Installing actiontext 7.1.3.2 - Fetching listen 3.9.0 - Installing listen 3.9.0 Fetching coffee-rails 5.0.0 - Installing coffee-rails 5.0.0 Fetching jquery-rails 4.6.0 + Installing coffee-rails 5.0.0 Fetching rails 7.1.3.2 - Installing rails 7.1.3.2 Installing jquery-rails 4.6.0 + Installing rails 7.1.3.2 Fetching sassc-rails 2.1.2 Installing sassc-rails 2.1.2 Fetching sass-rails 6.0.0 @@ -336,13 +336,13 @@ Installing application metrics scripts Gems in the groups 'development' and 'test' were not installed. Bundled gems are installed into `/layers/heroku_ruby/gems` - - Done (1m 28s) + - Done (1m 25s) - Default process detection - Running `bundle list` ... (0.2s) - Detected rails app (`rails` gem found) - Rake assets install - Detected rake (`rake` gem found, `Rakefile` found at `/workspace/Rakefile`) - - Running `bundle exec rake -P --trace` .... (1.5s) + - Running `bundle exec rake -P --trace` .... (1.4s) - Compiling assets with cache (detected `rake assets:precompile` and `rake assets:clean` via `bundle exec rake -P`) - Creating cache for /workspace/public/assets - Creating cache for /workspace/tmp/cache/assets @@ -354,52 +354,55 @@ Installing application metrics scripts ** Invoke environment (first_time) ** Execute environment ** Execute assets:precompile - I, [2024-12-18T16:29:20.876100 #1516] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js - I, [2024-12-18T16:29:20.876324 #1516] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz - I, [2024-12-18T16:29:20.876750 #1516] INFO -- : Writing /workspace/public/assets/lang-logo-b6c7c4b6a37e9c2425ca4d54561010c0719870ae325c849de398499f1ab098a9.png - I, [2024-12-18T16:29:20.877025 #1516] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js - I, [2024-12-18T16:29:20.877391 #1516] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js.gz - I, [2024-12-18T16:29:20.877584 #1516] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js - I, [2024-12-18T16:29:20.878078 #1516] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz - I, [2024-12-18T16:29:20.878837 #1516] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js - I, [2024-12-18T16:29:20.879424 #1516] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz - I, [2024-12-18T16:29:20.879596 #1516] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css - I, [2024-12-18T16:29:20.879771 #1516] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz - I, [2024-12-18T16:29:20.879896 #1516] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:29:20.879979 #1516] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:29:20.880087 #1516] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css - I, [2024-12-18T16:29:20.880168 #1516] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz - I, [2024-12-18T16:29:20.880715 #1516] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:29:20.881803 #1516] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:29:20.882308 #1516] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:29:20.883102 #1516] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:29:20.883351 #1516] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js - I, [2024-12-18T16:29:20.883940 #1516] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js.gz - I, [2024-12-18T16:29:20.884412 #1516] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js - I, [2024-12-18T16:29:20.884587 #1516] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js.gz - I, [2024-12-18T16:29:20.885157 #1516] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js - I, [2024-12-18T16:29:20.885903 #1516] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js.gz - I, [2024-12-18T16:29:20.886050 #1516] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css - I, [2024-12-18T16:29:20.886135 #1516] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css.gz - I, [2024-12-18T16:29:20.886261 #1516] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js - I, [2024-12-18T16:29:20.886358 #1516] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js.gz - I, [2024-12-18T16:29:20.886486 #1516] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js - I, [2024-12-18T16:29:20.886602 #1516] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js.gz - I, [2024-12-18T16:29:20.886732 #1516] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js - I, [2024-12-18T16:29:20.886824 #1516] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js.gz - I, [2024-12-18T16:29:20.886952 #1516] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js - I, [2024-12-18T16:29:20.887053 #1516] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js.gz + I, [2024-12-23T00:25:02.440036 #1517] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js + I, [2024-12-23T00:25:02.440410 #1517] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz + I, [2024-12-23T00:25:02.440662 #1517] INFO -- : Writing /workspace/public/assets/lang-logo-b6c7c4b6a37e9c2425ca4d54561010c0719870ae325c849de398499f1ab098a9.png + I, [2024-12-23T00:25:02.441260 #1517] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js + I, [2024-12-23T00:25:02.441487 #1517] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js.gz + I, [2024-12-23T00:25:02.441884 #1517] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js + I, [2024-12-23T00:25:02.442187 #1517] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz + I, [2024-12-23T00:25:02.442303 #1517] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js + I, [2024-12-23T00:25:02.442480 #1517] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz + I, [2024-12-23T00:25:02.442663 #1517] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css + I, [2024-12-23T00:25:02.442863 #1517] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz + I, [2024-12-23T00:25:02.443882 #1517] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:25:02.444405 #1517] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:25:02.444613 #1517] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css + I, [2024-12-23T00:25:02.444807 #1517] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz + I, [2024-12-23T00:25:02.444934 #1517] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:25:02.445003 #1517] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:25:02.445116 #1517] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:25:02.445193 #1517] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:25:02.445439 #1517] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js + I, [2024-12-23T00:25:02.446788 #1517] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js.gz + I, [2024-12-23T00:25:02.446989 #1517] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js + I, [2024-12-23T00:25:02.447456 #1517] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js.gz + I, [2024-12-23T00:25:02.447574 #1517] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js + I, [2024-12-23T00:25:02.447643 #1517] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js.gz + I, [2024-12-23T00:25:02.447737 #1517] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css + I, [2024-12-23T00:25:02.448816 #1517] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css.gz + I, [2024-12-23T00:25:02.448964 #1517] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js + I, [2024-12-23T00:25:02.449060 #1517] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js.gz + I, [2024-12-23T00:25:02.449201 #1517] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js + I, [2024-12-23T00:25:02.449337 #1517] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js.gz + I, [2024-12-23T00:25:02.449840 #1517] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js + I, [2024-12-23T00:25:02.449954 #1517] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js.gz + I, [2024-12-23T00:25:02.450499 #1517] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js + I, [2024-12-23T00:25:02.450688 #1517] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js.gz ** Invoke assets:clean (first_time) ** Invoke assets:environment ** Execute assets:clean - - Done (1.3s) + - Done (1.2s) - Storing cache for /workspace/public/assets - Storing cache for /workspace/tmp/cache/assets -- Done (finished in 1m 32s) +- Done (finished in 1m 30s) -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `bundle exec puma -C config/puma.rb` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/nodejs-engine:dist' Adding layer 'heroku/nodejs-engine:node_runtime_metrics' @@ -420,7 +423,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (a290a0806170): +*** Images (e087d18755e9): my-image-name Adding cache layer 'heroku/nodejs-engine:dist' Adding cache layer 'heroku/ruby:bundler' @@ -439,7 +442,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -a290a0806170 my-image-name latest +e087d18755e9 my-image-name latest ``` ## What does `pack build` do? @@ -455,7 +458,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script 3 of 6 buildpacks participating heroku/nodejs-engine 3.4.0 heroku/ruby 5.0.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING ``` @@ -650,7 +653,7 @@ Image with name "my-image-name" not found heroku/python 0.21.0 heroku/nodejs-engine 3.4.0 heroku/ruby 5.0.0 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -688,42 +691,42 @@ Installing application metrics scripts - Metrics agent - Skipping install (`barnes` gem not found) - Ruby version `3.2.4` from `Gemfile.lock` - - Installing ... (0.6s) + - Installing .... (1.5s) - Bundler version `2.5.9` from `Gemfile.lock` - - Running `gem install bundler --version 2.5.9` ... (0.6s) + - Running `gem install bundler --version 2.5.9` ... (0.5s) - Bundle install gems - Running `BUNDLE_BIN="/layers/heroku_ruby/gems/bin" BUNDLE_CLEAN="1" BUNDLE_DEPLOYMENT="1" BUNDLE_GEMFILE="/workspace/Gemfile" BUNDLE_PATH="/layers/heroku_ruby/gems" BUNDLE_WITHOUT="development:test" bundle install` Fetching gem metadata from https://rubygems.org/......... Fetching rake 13.2.1 Installing rake 13.2.1 - Fetching base64 0.2.0 Fetching bigdecimal 3.1.8 + Fetching base64 0.2.0 Fetching concurrent-ruby 1.2.3 Fetching connection_pool 2.4.1 + Installing bigdecimal 3.1.8 with native extensions Installing base64 0.2.0 Fetching drb 2.2.1 Installing connection_pool 2.4.1 - Installing bigdecimal 3.1.8 with native extensions Installing drb 2.2.1 Fetching minitest 5.23.0 + Installing concurrent-ruby 1.2.3 Fetching mutex_m 0.2.0 - Installing mutex_m 0.2.0 Installing minitest 5.23.0 - Installing concurrent-ruby 1.2.3 + Installing mutex_m 0.2.0 Fetching builder 3.2.4 Installing builder 3.2.4 Fetching erubi 1.12.0 - Fetching racc 1.7.3 Installing erubi 1.12.0 + Fetching racc 1.7.3 Fetching crass 1.0.6 - Installing crass 1.0.6 Installing racc 1.7.3 with native extensions + Installing crass 1.0.6 Fetching rack 3.0.11 Installing rack 3.0.11 Fetching nio4r 2.7.3 - Fetching websocket-extensions 0.1.5 Installing nio4r 2.7.3 with native extensions + Fetching websocket-extensions 0.1.5 Installing websocket-extensions 0.1.5 Fetching zeitwerk 2.6.14 Installing zeitwerk 2.6.14 @@ -784,9 +787,9 @@ Installing application metrics scripts Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Fetching bootsnap 1.18.3 + Installing bootsnap 1.18.3 with native extensions Fetching rackup 2.1.0 Installing rackup 2.1.0 - Installing bootsnap 1.18.3 with native extensions Fetching reline 0.5.7 Installing reline 0.5.7 Fetching turbolinks 5.2.1 @@ -822,36 +825,36 @@ Installing application metrics scripts Fetching activejob 7.1.3.2 Installing activejob 7.1.3.2 Fetching activerecord 7.1.3.2 - Fetching actionpack 7.1.3.2 + Fetching rb-inotify 0.10.1 + Installing rb-inotify 0.10.1 + Fetching sassc 2.4.0 Installing activerecord 7.1.3.2 + Installing sassc 2.4.0 with native extensions + Fetching actionpack 7.1.3.2 Installing actionpack 7.1.3.2 Fetching jbuilder 2.12.0 Installing jbuilder 2.12.0 - Fetching rb-inotify 0.10.1 - Installing rb-inotify 0.10.1 - Fetching sassc 2.4.0 + Fetching listen 3.9.0 + Installing listen 3.9.0 Fetching actioncable 7.1.3.2 - Installing sassc 2.4.0 with native extensions Installing actioncable 7.1.3.2 + Fetching activestorage 7.1.3.2 + Installing activestorage 7.1.3.2 Fetching actionmailer 7.1.3.2 Installing actionmailer 7.1.3.2 Fetching railties 7.1.3.2 Installing railties 7.1.3.2 Fetching sprockets-rails 3.4.2 Installing sprockets-rails 3.4.2 - Fetching listen 3.9.0 - Installing listen 3.9.0 - Fetching activestorage 7.1.3.2 - Installing activestorage 7.1.3.2 - Fetching coffee-rails 5.0.0 - Installing coffee-rails 5.0.0 - Fetching jquery-rails 4.6.0 - Installing jquery-rails 4.6.0 Fetching actionmailbox 7.1.3.2 Installing actionmailbox 7.1.3.2 Fetching actiontext 7.1.3.2 Installing actiontext 7.1.3.2 + Fetching coffee-rails 5.0.0 + Installing coffee-rails 5.0.0 + Fetching jquery-rails 4.6.0 Fetching rails 7.1.3.2 + Installing jquery-rails 4.6.0 Installing rails 7.1.3.2 Fetching sassc-rails 2.1.2 Installing sassc-rails 2.1.2 @@ -861,13 +864,13 @@ Installing application metrics scripts Gems in the groups 'development' and 'test' were not installed. Bundled gems are installed into `/layers/heroku_ruby/gems` - - Done (1m 26s) + - Done (1m 25s) - Default process detection - Running `bundle list` ... (0.2s) - Detected rails app (`rails` gem found) - Rake assets install - Detected rake (`rake` gem found, `Rakefile` found at `/workspace/Rakefile`) - - Running `bundle exec rake -P --trace` .... (1.4s) + - Running `bundle exec rake -P --trace` .... (1.3s) - Compiling assets with cache (detected `rake assets:precompile` and `rake assets:clean` via `bundle exec rake -P`) - Creating cache for /workspace/public/assets - Creating cache for /workspace/tmp/cache/assets @@ -879,41 +882,41 @@ Installing application metrics scripts ** Invoke environment (first_time) ** Execute environment ** Execute assets:precompile - I, [2024-12-18T16:31:42.745931 #1563] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js - I, [2024-12-18T16:31:42.746114 #1563] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz - I, [2024-12-18T16:31:42.746433 #1563] INFO -- : Writing /workspace/public/assets/lang-logo-b6c7c4b6a37e9c2425ca4d54561010c0719870ae325c849de398499f1ab098a9.png - I, [2024-12-18T16:31:42.747082 #1563] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js - I, [2024-12-18T16:31:42.747309 #1563] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js.gz - I, [2024-12-18T16:31:42.747586 #1563] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js - I, [2024-12-18T16:31:42.747940 #1563] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz - I, [2024-12-18T16:31:42.748469 #1563] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js - I, [2024-12-18T16:31:42.748607 #1563] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz - I, [2024-12-18T16:31:42.748873 #1563] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css - I, [2024-12-18T16:31:42.749395 #1563] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz - I, [2024-12-18T16:31:42.749551 #1563] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:31:42.749655 #1563] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:31:42.750606 #1563] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css - I, [2024-12-18T16:31:42.750909 #1563] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz - I, [2024-12-18T16:31:42.751802 #1563] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:31:42.751976 #1563] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:31:42.752693 #1563] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css - I, [2024-12-18T16:31:42.753058 #1563] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz - I, [2024-12-18T16:31:42.753191 #1563] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js - I, [2024-12-18T16:31:42.753283 #1563] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js.gz - I, [2024-12-18T16:31:42.753663 #1563] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js - I, [2024-12-18T16:31:42.753774 #1563] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js.gz - I, [2024-12-18T16:31:42.753858 #1563] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js - I, [2024-12-18T16:31:42.753969 #1563] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js.gz - I, [2024-12-18T16:31:42.754104 #1563] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css - I, [2024-12-18T16:31:42.754194 #1563] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css.gz - I, [2024-12-18T16:31:42.754313 #1563] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js - I, [2024-12-18T16:31:42.754400 #1563] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js.gz - I, [2024-12-18T16:31:42.754543 #1563] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js - I, [2024-12-18T16:31:42.754630 #1563] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js.gz - I, [2024-12-18T16:31:42.754760 #1563] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js - I, [2024-12-18T16:31:42.754856 #1563] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js.gz - I, [2024-12-18T16:31:42.754978 #1563] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js - I, [2024-12-18T16:31:42.755068 #1563] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js.gz + I, [2024-12-23T00:27:21.082163 #1560] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js + I, [2024-12-23T00:27:21.082444 #1560] INFO -- : Writing /workspace/public/assets/manifest-dad05bf766af0fe3d79dd746db3c1361c0583026cdf35d6a2921bccaea835331.js.gz + I, [2024-12-23T00:27:21.082690 #1560] INFO -- : Writing /workspace/public/assets/lang-logo-b6c7c4b6a37e9c2425ca4d54561010c0719870ae325c849de398499f1ab098a9.png + I, [2024-12-23T00:27:21.083257 #1560] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js + I, [2024-12-23T00:27:21.083800 #1560] INFO -- : Writing /workspace/public/assets/application-9ced36c9568ebfd1053e04ba411af767274dfcccd9807c0989f8bd17ca5e8f5b.js.gz + I, [2024-12-23T00:27:21.084024 #1560] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js + I, [2024-12-23T00:27:21.084287 #1560] INFO -- : Writing /workspace/public/assets/welcome-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz + I, [2024-12-23T00:27:21.084726 #1560] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js + I, [2024-12-23T00:27:21.084882 #1560] INFO -- : Writing /workspace/public/assets/widgets-27cfb9694c5e92d25d972c2b4a2d2e222ad088aef866823f772241c1db423402.js.gz + I, [2024-12-23T00:27:21.085104 #1560] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css + I, [2024-12-23T00:27:21.085739 #1560] INFO -- : Writing /workspace/public/assets/application-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz + I, [2024-12-23T00:27:21.085916 #1560] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:27:21.086535 #1560] INFO -- : Writing /workspace/public/assets/scaffolds-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:27:21.086862 #1560] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css + I, [2024-12-23T00:27:21.087047 #1560] INFO -- : Writing /workspace/public/assets/theme-776d900b9840362472b5b6b4afb9b798c78d53098a77b289b8bfc22c6d241913.css.gz + I, [2024-12-23T00:27:21.087755 #1560] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:27:21.088113 #1560] INFO -- : Writing /workspace/public/assets/welcome-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:27:21.088430 #1560] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css + I, [2024-12-23T00:27:21.088574 #1560] INFO -- : Writing /workspace/public/assets/widgets-04024382391bb910584145d8113cf35ef376b55d125bb4516cebeb14ce788597.css.gz + I, [2024-12-23T00:27:21.088920 #1560] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js + I, [2024-12-23T00:27:21.089135 #1560] INFO -- : Writing /workspace/public/assets/actiontext-78de0ebeae470799f9ec25fd0e20ae2d931df88c2ff9315918d1054a2fca2596.js.gz + I, [2024-12-23T00:27:21.089259 #1560] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js + I, [2024-12-23T00:27:21.089346 #1560] INFO -- : Writing /workspace/public/assets/actiontext.esm-328ef022563f73c1b9b45ace742bd21330da0f6bd6c1c96d352d52fc8b8857e5.js.gz + I, [2024-12-23T00:27:21.089454 #1560] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js + I, [2024-12-23T00:27:21.089534 #1560] INFO -- : Writing /workspace/public/assets/trix-e17a480fcb4e30c8571f0fed42dc81de5faeef93755ca30fe9623eb3f5c709e5.js.gz + I, [2024-12-23T00:27:21.089636 #1560] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css + I, [2024-12-23T00:27:21.089713 #1560] INFO -- : Writing /workspace/public/assets/trix-5552afe828fe79c41e53b9cc3616e9d7b8c2de1979ea62cbd663b88426ec41de.css.gz + I, [2024-12-23T00:27:21.089816 #1560] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js + I, [2024-12-23T00:27:21.089894 #1560] INFO -- : Writing /workspace/public/assets/activestorage-503a4fe23aabfbcb752dad255f01835904e6961d5f20d1de13987a691c27d9cd.js.gz + I, [2024-12-23T00:27:21.089995 #1560] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js + I, [2024-12-23T00:27:21.090087 #1560] INFO -- : Writing /workspace/public/assets/activestorage.esm-b3f7f0a5ef90530b509c5e681c4b3ef5d5046851e5b70d57fdb45e32b039c883.js.gz + I, [2024-12-23T00:27:21.090199 #1560] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js + I, [2024-12-23T00:27:21.090274 #1560] INFO -- : Writing /workspace/public/assets/actioncable-1c7f008c6deb7b55c6878be38700ff6bf56b75444a086fa1f46e3b781365a3ea.js.gz + I, [2024-12-23T00:27:21.090389 #1560] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js + I, [2024-12-23T00:27:21.090487 #1560] INFO -- : Writing /workspace/public/assets/actioncable.esm-06609b0ecaffe2ab952021b9c8df8b6c68f65fc23bee728fc678a2605e1ce132.js.gz ** Invoke assets:clean (first_time) ** Invoke assets:environment ** Execute assets:clean @@ -921,10 +924,13 @@ Installing application metrics scripts - Done (1.2s) - Storing cache for /workspace/public/assets - Storing cache for /workspace/tmp/cache/assets -- Done (finished in 1m 31s) +- Done (finished in 1m 30s) + +## Procfile Buildpack -[Discovering process types] -Procfile declares types -> web +- Processes from `Procfile` + - web: `bundle exec puma -C config/puma.rb` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/python:python' Adding layer 'heroku/python:venv' @@ -947,7 +953,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (0e9b4d26084e): +*** Images (b895f859ed85): my-image-name Adding cache layer 'heroku/python:pip' Adding cache layer 'heroku/python:pip-cache' diff --git a/docs/scala/README.md b/docs/scala/README.md index d4bc95e..137e30f 100644 --- a/docs/scala/README.md +++ b/docs/scala/README.md @@ -136,7 +136,7 @@ Image with name "my-image-name" not found 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/sbt 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING Skipping buildpack layer analysis ===> BUILDING @@ -159,7 +159,7 @@ Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [info] loading global plugins from /layers/heroku_sbt/sbt-global/plugins [info] compiling 1 Scala source to /layers/heroku_sbt/sbt-global/plugins/target/scala-2.12/sbt-1.0/classes ... [info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.16. Compiling... -[info] Compilation completed in 8.283s. +[info] Compilation completed in 8.191s. [info] done compiling [info] loading settings for project workspace-build from plugins.sbt ... [info] loading project definition from /workspace/project @@ -181,14 +181,17 @@ Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [info] [info] compiling 8 Scala sources and 1 Java source to /workspace/target/scala-2.13/classes ... [info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.10. Compiling... -[info] Compilation completed in 8.158s. +[info] Compilation completed in 7.85s. [info] done compiling -[success] Total time: 13 s, completed Dec 18, 2024, 4:39:02 PM +[success] Total time: 13 s, completed Dec 23, 2024, 12:34:57 AM [info] Wrote /workspace/target/scala-2.13/scala-getting-started_2.13-1.0-SNAPSHOT.pom -[success] Total time: 1 s, completed Dec 18, 2024, 4:39:02 PM +[success] Total time: 1 s, completed Dec 23, 2024, 12:34:58 AM -[Discovering process types] -Procfile declares types -> web +## Procfile Buildpack + +- Processes from `Procfile` + - web: `target/universal/stage/bin/scala-getting-started -Dhttp.port=${PORT}` +- Done (finished in < 0.1s) ===> EXPORTING Adding layer 'heroku/jvm:openjdk' Adding layer 'heroku/jvm:runtime' @@ -202,7 +205,7 @@ Adding label 'io.buildpacks.build.metadata' Adding label 'io.buildpacks.project.metadata' Setting default process type 'web' Saving my-image-name... -*** Images (485249be9eda): +*** Images (0809177c056c): my-image-name Adding cache layer 'heroku/jvm:openjdk' Adding cache layer 'heroku/sbt:coursier-home' @@ -220,7 +223,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t ``` $ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name -485249be9eda my-image-name latest +0809177c056c my-image-name latest ``` ## What does `pack build` do? @@ -236,7 +239,7 @@ When you run `pack build` with a builder, each buildpack runs a detection script 3 of 4 buildpacks participating heroku/jvm 6.0.4 heroku/sbt 6.0.4 -heroku/procfile 3.1.2 +heroku/procfile 3.2.0 ===> RESTORING ``` @@ -258,10 +261,10 @@ By default, images will be booted into a web server configuration. You can launc ``` $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80.0 -Dfile.encoding=UTF-8 -2024-12-18 16:39:14 INFO  play.api.db.DefaultDBApi  Database [default] initialized -2024-12-18 16:39:14 INFO  play.api.db.HikariCPConnectionPool  Creating Pool for datasource 'default' -2024-12-18 16:39:15 INFO  play.api.Play  Application started (Prod) (no global state) -2024-12-18 16:39:15 INFO  play.core.server.AkkaHttpServer  Listening for HTTP on /[0:0:0:0:0:0:0:0]:5006 +2024-12-23 00:35:09 INFO  play.api.db.DefaultDBApi  Database [default] initialized +2024-12-23 00:35:09 INFO  play.api.db.HikariCPConnectionPool  Creating Pool for datasource 'default' +2024-12-23 00:35:10 INFO  play.api.Play  Application started (Prod) (no global state) +2024-12-23 00:35:10 INFO  play.core.server.AkkaHttpServer  Listening for HTTP on /[0:0:0:0:0:0:0:0]:5006 ```