diff --git a/.github/actions/cpUtility-testing/action.yml b/.github/actions/cpUtility-testing/action.yml index e01f9d1f7a..883763ccdc 100644 --- a/.github/actions/cpUtility-testing/action.yml +++ b/.github/actions/cpUtility-testing/action.yml @@ -29,6 +29,8 @@ runs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:v0.15.1 - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 223bd82ae0..38989dc65c 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -103,6 +103,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: image=moby/buildkit:v0.15.1 if: ${{ matrix.os == 'ubuntu-latest' }} - name: Build image for testing diff --git a/Dockerfile b/Dockerfile index 8a0d81dbde..355901b120 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,4 +51,4 @@ ARG ADOT_JAVA_VERSION COPY --from=builder /usr/src/cp-utility/bin/cp-utility /bin/cp -COPY --chmod=0644 ./otelagent/build/libs/aws-opentelemetry-agent-${ADOT_JAVA_VERSION}.jar /javaagent.jar +COPY --chmod=go+r ./otelagent/build/libs/aws-opentelemetry-agent-${ADOT_JAVA_VERSION}.jar /javaagent.jar