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

Lambda Linux images unusable for GitHub Actions due to GLIBC error

Open OmpahDev opened this issue 1 year ago • 0 comments

Describe the bug When attempting to use the aws/codebuild/amazonlinux-x86_64-lambda-standard:go1.21 image to create a self-hosted GitHub Actions runner, the actions/checkout action (which is basically a mandatory part of any workflow) fails with the error:

/tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib64/libm.so.6: version 'GLIBC_2.27' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node) /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version 'GLIBC_2.28' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node)

To Reproduce Steps to reproduce the behavior:

  1. Create AWS CodeBuild project using Lambda execution with aws/codebuild/amazonlinux-x86_64-lambda-standard:go1.21 image
  2. Create sample workflow:
name: HelloWorld
on: [push]
jobs:
  HelloWorld:
    runs-on:
      - codebuild-<codebuildprojectname>-${{ github.run_id }}-${{ github.run_attempt }}
    steps:
    - name: Checkout Code
      uses: actions/checkout@v3

Expected behavior The workflow runs.

Logs Run actions/checkout@v3 with: repository: <redacted> token: *** ssh-strict: true persist-credentials: true clean: true sparse-checkout-cone-mode: true fetch-depth: 1 fetch-tags: false lfs: false submodules: false set-safe-directory: true /tmp/codebuild/output/src[2](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:2)489/src/2d960dd[3](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:3)_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib6[4](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:4)/libm.so.6: version 'GLIBC_2.27' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb[5](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:5)_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node) /tmp/codebuild/output/src2489/src/2d9[6](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:6)0dd3_c8bb_4fb5_9316_ad2d90ad[7](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:7)884/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version 'GLIBC_2.2[8](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:8)' not found (required by /tmp/codebuild/output/src248[9](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:9)/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node)

Platform (please complete the following information):

  • OS: Lambda Linux

OmpahDev avatar Oct 18 '24 20:10 OmpahDev