Commit 10bd9ed
authored
fix: use an image that supports glibc for @turbo/repository ubuntu (vercel#9845)
### Description
In a [recent
release](https://github.com/vercel/turborepo/actions/runs/13038773591/job/36375503780)
of `@turbo/repository` I noticed that on `x86_64-unknown-linux-gnu` is
failing checkout with:
```text
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
```
### Testing Instructions
#### Verify the old version
```bash
docker pull amazon/aws-lambda-nodejs:18
docker run --rm -it --entrypoint /bin/sh amazon/aws-lambda-nodejs:18
```
then run
```bash
ldd --version
```
To verify that the version was indeed 2.26:
```text
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
```
#### Verify the new version
```bash
docker pull node:18-bullseye
docker run --rm -it --entrypoint /bin/sh amazon/aws-lambda-nodejs:20
```
then run
```bash
ldd --version
```
and expect an output like
```
sh-5.2# ldd --version
ldd (GNU libc) 2.34
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
```1 parent cd93e20 commit 10bd9ed
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments