Endlessline
Repos
6
Followers
1
Following
1

Events

Endlessline delete branch issue_589
Created at 3 weeks ago
Deploy reports "Invalid Id" but not service is noted

This stopped without any changes. Possibly some internal issue?

Created at 1 month ago
Cannot build image due to checksum mismatch

It would appear the dockerfile version is no longer available (thus the invalid checksum). Ive created a PR with the publicly available download and SHA

Created at 1 month ago
pull request opened
Bumps Maven version to latest patch release and updates SHA.

Issue #589

Description of changes:

Update Maven to latest patch version (3.8.7) and updates the download SHA checksum to allow script to build

Created at 1 month ago
Endlessline create branch issue_589
Created at 1 month ago
Cannot build image due to checksum mismatch

When attempting to build Ubuntu standard 6.0 I recieve an error noting that Gradle checksum does not match expected.

To Reproduce

$ git clone https://github.com/aws/aws-codebuild-docker-images.git
$ cd aws-codebuild-docker-images
$ cd ubuntu/standard/6.0
$ docker build -t aws/codebuild/standard:6.0 .

Expected behavior Image builds successfully

Logs

=> ERROR [runtimes_n_corretto 2/5] RUN set -ex  &&
 mkdir -p /opt/maven     &&
 curl -LSso /var/t  1.4s
------                                                                                                    
 > [runtimes_n_corretto 2/5] RUN set -ex     &&
 mkdir -p /opt/maven     &&
 curl -LSso /var/tmp/apache-maven-3.8.6-bin.tar.gz https://apache.org/dist/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz     &&
 echo "f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 /var/tmp/apache-maven-3.8.6-bin.tar.gz" | sha512sum -c -     &&
 tar xzf /var/tmp/apache-maven-3.8.6-bin.tar.gz -C /opt/maven --strip-components=1     &&
 rm /var/tmp/apache-maven-3.8.6-bin.tar.gz     &&
 update-alternatives --install /usr/bin/mvn mvn /opt/maven/bin/mvn 10000     &&
 mkdir -p /root/.m2     &&
 mkdir -p /usr/src/gradle     &&
 for version in 7.4.2; do {        wget -q "https://services.gradle.org/distributions/gradle-$version-all.zip" -O "/usr/src/gradle/gradle-$version-all.zip"        &&
 unzip -q "/usr/src/gradle/gradle-$version-all.zip" -d /usr/local        &&
 echo "e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82 7.4.2" | grep "$version" | sed "s|$version|/usr/src/gradle/gradle-$version-all.zip|" | sha256sum -c -        &&
 rm "/usr/src/gradle/gradle-$version-all.zip"        &&
 mkdir "/tmp/gradle-$version"        &&
 "/usr/local/gradle-$version/bin/gradle" -p "/tmp/gradle-$version" init        &&
 "/usr/local/gradle-$version/bin/gradle" -p "/tmp/gradle-$version" wrapper        &&
 perl -pi -e "s/gradle-$version-bin.zip/gradle-$version-all.zip/" "/tmp/gradle-$version/gradle/wrapper/gradle-wrapper.properties"        &&
 "/tmp/gradle-$version/gradlew" -p "/tmp/gradle-$version" init        &&
 rm -rf "/tmp/gradle-$version"        &&
 if [ "$version" != "7.4.2" ]; then rm -rf "/usr/local/gradle-$version"; fi;      }; done     &&
 ln -s /usr/local/gradle-7.4.2/bin/gradle /usr/bin/gradle     &&
 rm -rf /usr/src/gradle     &&
 curl -fSL "https://github.com/sbt/sbt/releases/download/v1.6.2/sbt-1.6.2.tgz" -o sbt.tgz     &&
 echo "637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440 *sbt.tgz" | sha256sum -c -     &&
 tar xzf sbt.tgz -C /usr/local/bin/     &&
 rm sbt.tgz     &&
 for version in 2.11.1 1.2.8; do find / -name log4j*-$version.jar | xargs rm -f; done:
#34 0.183 + mkdir -p /opt/maven
#34 0.184 + curl -LSso /var/tmp/apache-maven-3.8.6-bin.tar.gz https://apache.org/dist/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
#34 1.373 + echo f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 /var/tmp/apache-maven-3.8.6-bin.tar.gz
#34 1.373 + sha512sum -c -
#34 1.375 sha512sum: WARNING: 1 computed checksum did NOT match
#34 1.375 /var/tmp/apache-maven-3.8.6-bin.tar.gz: FAILED
------
executor failed running [/bin/sh -c set -ex     &&
 mkdir -p $MAVEN_HOME     &&
 curl -LSso /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz https://apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz     &&
 echo "$MAVEN_DOWNLOAD_SHA512 /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz" | sha512sum -c -     &&
 tar xzf /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz -C $MAVEN_HOME --strip-components=1     &&
 rm /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz     &&
 update-alternatives --install /usr/bin/mvn mvn /opt/maven/bin/mvn 10000     &&
 mkdir -p $MAVEN_CONFIG_HOME     &&
 mkdir -p $GRADLE_PATH     &&
 for version in $INSTALLED_GRADLE_VERSIONS; do {        wget -q "https://services.gradle.org/distributions/gradle-$version-all.zip" -O "$GRADLE_PATH/gradle-$version-all.zip"        &&
 unzip -q "$GRADLE_PATH/gradle-$version-all.zip" -d /usr/local        &&
 echo "$GRADLE_DOWNLOADS_SHA256" | grep "$version" | sed "s|$version|$GRADLE_PATH/gradle-$version-all.zip|" | sha256sum -c -        &&
 rm "$GRADLE_PATH/gradle-$version-all.zip"        &&
 mkdir "/tmp/gradle-$version"        &&
 "/usr/local/gradle-$version/bin/gradle" -p "/tmp/gradle-$version" init        &&
 "/usr/local/gradle-$version/bin/gradle" -p "/tmp/gradle-$version" wrapper        &&
 perl -pi -e "s/gradle-$version-bin.zip/gradle-$version-all.zip/" "/tmp/gradle-$version/gradle/wrapper/gradle-wrapper.properties"        &&
 "/tmp/gradle-$version/gradlew" -p "/tmp/gradle-$version" init        &&
 rm -rf "/tmp/gradle-$version"        &&
 if [ "$version" != "$GRADLE_VERSION" ]; then rm -rf "/usr/local/gradle-$version"; fi;      }; done     &&
 ln -s /usr/local/gradle-$GRADLE_VERSION/bin/gradle /usr/bin/gradle     &&
 rm -rf $GRADLE_PATH     &&
 curl -fSL "https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz" -o sbt.tgz     &&
 echo "${SBT_DOWNLOAD_SHA256} *sbt.tgz" | sha256sum -c -     &&
 tar xzf sbt.tgz -C /usr/local/bin/     &&
 rm sbt.tgz     &&
 for version in $LOG4J_UNSAFE_VERSIONS; do find / -name log4j*-$version.jar | xargs rm -f; done]: exit code: 1```

Platform
Mac 11.6.8 (Big Sur)
                                    
Created at 1 month ago