aws-codebuild-docker-images icon indicating copy to clipboard operation
aws-codebuild-docker-images copied to clipboard

Unable to build al2/aarch64/standard/2.0 because of old Maven

Open jeffb4 opened this issue 1 year ago • 2 comments

Describe the bug Builds of al2/aarch64/standard/2.0 fail because it references a Maven binary that is no longer available

To Reproduce Steps to reproduce the behavior:

  1. Try to build al2/aarch64/standard/2.0
  2. Get checksum mismatch for https://apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
  3. Try to download it yourself, get 404
  4. Go to https://apache.org/dist/maven/maven-3/ and discover 3.8.8 is the lowest 3.x version available to download

Expected behavior I would expect the download to succeed (I think Apache took those older binaries down very recently)

Logs I think the description is good without logs

Platform (please complete the following information):

  • OS: Linux ARM (build was running in codebuild)

Additional context No additional context.

jeffb4 avatar Jun 23 '23 21:06 jeffb4

@jeffb4 - Thanks for reporting the issue. Note that the Dockerfiles provided in this repo are meant as a reference for customers to know what's available in the Docker images provided by CodeBuild on AWS Cloud. Since the pre-built docker files are already built and made available on https://gallery.ecr.aws/codebuild/amazonlinux2-aarch64-standard as public.ecr.aws/codebuild/amazonlinux2-aarch64-standard:2.0, please consider using it from there.

We may consider bumping the maven version up on this image in a future release, but for now, we will keep need to keep the Dockerfiles in sync with what the Docker images on AWS CodeBuild were built from.

subinataws avatar Jun 23 '23 22:06 subinataws

I would expect, as a customer, someone from the Codebuild image maintenance team to see this GH issue, update whatever private Dockerfile is used internally for building the codebuild image, releasing a new image, and then syncing back to this repo.

jeffb4 avatar Jul 19 '23 15:07 jeffb4