You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/migration/migrate-to-azure-container-apps-build-buildpacks.md
+89-19Lines changed: 89 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ This article shows you how to create a builder with a TOML file, and then build
29
29
30
30
## Standard plan
31
31
32
-
The Azure Spring Apps Standard plan comes with a built-in builder, which you can't customize. To replace this builder, you need to create a TOML file for your own builder. Below is an example TOML file that can be customized to build a Java Spring Boot app with Application Insights. Adjust the TOML file based on your app's requirements. For more information about open-source Paketo Buildpacks, please refer to [Paketo Buildpacks](https://github.com/paketo-buildpacks).
32
+
The Azure Spring Apps Standard plan comes with a built-in builder, which you can't customize. To replace this builder, you need to create a TOML file for your own builder. Below is an example TOML file that can be customized to build a Java Spring Boot app with Application Insights. Adjust the TOML file based on your app's requirements. You can refer to the configuration of [Paketo Java Azure Composite Buildpack](https://github.com/paketo-buildpacks/java-azure). Please note that Paketo Java Azure Buildpack has been sunset. For more information, refer to [Paketo Buildpacks Sunsets Java Azure Composite Buildpack](https://blog.paketo.io/posts/paketo-java-azure-sunsets/)
33
33
34
34
```toml
35
35
# filename: standard-builder.toml
@@ -202,14 +202,44 @@ The following table shows the Paketo Buildpack equivalents to the buildpacks use
Take the default builder in the Enterprise plan as an example. With the following TOML file, named **enterprise-builder.toml**, you can create a similar builder on your local machine:
205
+
Please note that [paketo-buildpacks/java-azure](https://github.com/paketo-buildpacks/java-azure) has been sunset. It has to be replaced by an alternative solution. For more information, refer to [Paketo Buildpacks Sunsets Java Azure Composite Buildpack](https://blog.paketo.io/posts/paketo-java-azure-sunsets/).
206
+
207
+
To replace the builder in the Enterprise plan, you need to create a TOML file for your own builder. Below is an example TOML file that can be customized. With this TOML file, you can create a similar builder on your local machine. Please adjust the TOML file based on your app's requirements. You can refer to the configuration of [paketo-buildpacks/java-azure](https://github.com/paketo-buildpacks/java-azure).
206
208
207
209
```toml
208
210
# filename: enterprise-builder.toml
209
211
210
212
[[buildpacks]]
211
-
uri = "docker://docker.io/paketobuildpacks/java-azure:latest"
212
-
id = "paketo-buildpacks/java-azure"
213
+
uri = "docker://docker.io/paketobuildpacks/ca-certificates:3.9.0"
214
+
id = "paketo-buildpacks/ca-certificates"
215
+
216
+
[[buildpacks]]
217
+
uri = "docker://docker.io/paketobuildpacks/microsoft-openjdk:4.0.1"
218
+
id = "paketo-buildpacks/microsoft-openjdk"
219
+
220
+
[[buildpacks]]
221
+
uri = "docker://docker.io/paketobuildpacks/syft:2.6.1"
222
+
id = "paketo-buildpacks/syft"
223
+
224
+
[[buildpacks]]
225
+
uri = "docker://docker.io/paketobuildpacks/maven:6.19.2"
226
+
id = "paketo-buildpacks/maven"
227
+
228
+
[[buildpacks]]
229
+
uri = "docker://docker.io/paketobuildpacks/executable-jar:6.12.0"
230
+
id = "paketo-buildpacks/executable-jar"
231
+
232
+
[[buildpacks]]
233
+
uri = "docker://docker.io/paketobuildpacks/spring-boot:5.32.0"
234
+
id = "paketo-buildpacks/spring-boot"
235
+
236
+
[[buildpacks]]
237
+
uri = "docker://docker.io/paketobuildpacks/azure-application-insights:5.23.0"
238
+
id = "paketo-buildpacks/azure-application-insights"
239
+
240
+
[[buildpacks]]
241
+
uri = "docker://docker.io/paketobuildpacks/environment-variables:4.8.0"
242
+
id = "paketo-buildpacks/environment-variables"
213
243
214
244
[[buildpacks]]
215
245
uri = "docker://docker.io/paketobuildpacks/dotnet-core:latest"
@@ -232,35 +262,75 @@ uri = "docker://docker.io/paketobuildpacks/python:latest"
232
262
id = "paketo-buildpacks/python"
233
263
234
264
[[order]]
235
-
[[order.group]]
236
-
id = "paketo-buildpacks/java-azure"
265
+
[[order.group]]
266
+
id = "paketo-buildpacks/ca-certificates"
267
+
optional = true
268
+
version = "3.9.0"
269
+
270
+
[[order.group]]
271
+
id = "paketo-buildpacks/microsoft-openjdk"
272
+
version = "4.0.1"
273
+
274
+
[[order.group]]
275
+
id = "paketo-buildpacks/syft"
276
+
optional = true
277
+
version = "2.6.1"
278
+
279
+
[[order.group]]
280
+
id = "paketo-buildpacks/maven"
281
+
optional = true
282
+
version = "6.19.2"
283
+
284
+
[[order.group]]
285
+
id = "paketo-buildpacks/executable-jar"
286
+
optional = true
287
+
version = "6.12.0"
288
+
289
+
[[order.group]]
290
+
id = "paketo-buildpacks/spring-boot"
291
+
optional = true
292
+
version = "5.32.0"
293
+
294
+
[[order.group]]
295
+
id = "paketo-buildpacks/azure-application-insights"
0 commit comments