aws-codebuild-docker-images
aws-codebuild-docker-images copied to clipboard
Gradle Version Usage in Image
I'm using the aws/codebuild/standard:5.0 image in my CodeBuild project. Looking at the Dockerfile for the image, it appears to be installing both Gradle 5.4.6 and 6.7 but 5.4.6 is the default version as set by the GRADLE_VERSION argument.
ARG INSTALLED_GRADLE_VERSIONS="5.6.4 6.7" ARG GRADLE_VERSION=5.6.4
It's not clear how to override this default version so that 6.7 can be utilized. Can it be done in the buildspec file?