Build your project
Build tasks
Once you identify a build task you think might be helpful or simply want to give it a try add it to your project like this
laraboot task add <name> [--buildtaskID <id>]
It's also possible to specify the position on which the build task will be added with --prepend
or --append
for instance:
laraboot task add nodejs --imageUri=gcr.io/paketo-buildpacks/nodejs --format=external --prepend
Building
The build command will run all the tasks specified in your configuration and ultimately will give you a container image you can use for your purposes.
laraboot build dev
If you feel curious increase the verbosity of the process by passing -v, -vv, or -vvv to the command.
If the command completes successfully a container image had been created with the name of your project.
Passing additional build params
There might be a time when the build process requires another dependency not specified. In this case, there's the possibility to pass additional parameters to pack
, which is used internally to build the project.
For instance core build task@core/laravel-starterkit-buildpack
requires nodejs
laraboot build dev -vvv --pack-params --buildpack gcr.io/paketo-buildpacks/nodejs
Last updated
Was this helpful?