Open
Description
Currently in codebuild it's possible to configure in the section buildSpec the object environment and its property buildImage.
This property is ignored in an amplify hosting app.
Use Case
Codebuild, by default, uses a build image version that seems to be old.
Newer versions has many new dependencies installed.
What I'd like to configure is something like this:
new amplify.App(this, 'test', {
sourceCodeProvider: ...,
buildSpec: codebuild.BuildSpec.fromObject({
version: '1.0',
frontend: {
....
buildSpec: codebuild.BuildSpec.fromObject({
version: '1.0',
frontend: {
environment: {
buildImage: LinuxBuildImage.STANDARD_5_0,
privileged: true,
computeType: ComputeType.SMALL,
....
},
The buildImage: LinuxBuildImage.STANDARD_5_0
has some dependecies missing in the current, default, old version, like jq (that seems to be exploited by many users in codebuild).
Proposed Solution
Please include buildSpec/environment/buildImage or a way to configure the image used by codebuild.