Skip to content

Commit ddc327a

Browse files
authored
chore(container): update default builder image for container deploy (#4692)
1 parent d6c5314 commit ddc327a

File tree

5 files changed

+4525
-1143
lines changed

5 files changed

+4525
-1143
lines changed

cmd/scw/testdata/test-all-usage-container-deploy-usage.golden

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ USAGE:
66
scw container deploy [arg=value ...]
77

88
ARGS:
9-
[name] Name of the application (defaults to build-source's directory name)
10-
[builder=paketobuildpacks/builder:base] Builder image to use
11-
[dockerfile=Dockerfile] Path to the Dockerfile
12-
[force-builder=false] Force the use of the builder image (even if a Dockerfile is present)
13-
[build-source=.] Path to the build context
14-
[cache=true] Use cache when building the image
15-
[build-args.{key}] Build-time variables
16-
[port=8080] Port to expose
17-
[namespace-id] Container Namespace ID to deploy to
18-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
9+
[name] Name of the application (defaults to build-source's directory name)
10+
[builder=paketobuildpacks/builder-jammy-base:latest] Builder image to use
11+
[dockerfile=Dockerfile] Path to the Dockerfile
12+
[force-builder=false] Force the use of the builder image (even if a Dockerfile is present)
13+
[build-source=.] Path to the build context
14+
[cache=true] Use cache when building the image
15+
[build-args.{key}] Build-time variables
16+
[port=8080] Port to expose
17+
[namespace-id] Container Namespace ID to deploy to
18+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
1919

2020
FLAGS:
2121
-h, --help help for deploy

docs/commands/container.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ scw container deploy [arg=value ...]
349349
| Name | | Description |
350350
|------|---|-------------|
351351
| name | | Name of the application (defaults to build-source's directory name) |
352-
| builder | Default: `paketobuildpacks/builder:base` | Builder image to use |
352+
| builder | Default: `paketobuildpacks/builder-jammy-base:latest` | Builder image to use |
353353
| dockerfile | Default: `Dockerfile` | Path to the Dockerfile |
354354
| force-builder | Default: `false` | Force the use of the builder image (even if a Dockerfile is present) |
355355
| build-source | Default: `.` | Path to the build context |

internal/namespaces/container/v1beta1/custom_deploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func containerDeployCommand() *core.Command {
6565
{
6666
Name: "builder",
6767
Short: "Builder image to use",
68-
Default: core.DefaultValueSetter("paketobuildpacks/builder:base"),
68+
Default: core.DefaultValueSetter("paketobuildpacks/builder-jammy-base:latest"),
6969
},
7070
{
7171
Name: "dockerfile",

0 commit comments

Comments
 (0)