aws / aws-codebuild-docker-images

Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
Other
1.11k stars 973 forks source link

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

Open jeffb4 opened 1 year ago

jeffb4 commented 1 year ago

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):

Additional context No additional context.

subinataws commented 1 year ago

@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.

jeffb4 commented 1 year ago

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.