aws / aws/aws-codebuild-docker-images

Gradle Version Usage in Image

Open
#566 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1.2k
Forks
971
Avg merge
2h 47m
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start by reading the image Dockerfile sections containing INSTALLED_GRADLE_VERSIONS and GRADLE_VERSION, then check the buildspec configuration mentioned in the issue. The work is done when the repository explains whether Gradle 6.7 can be selected and shows the supported way to configure or use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, dockerfile
Domain
build-system, devops
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.