We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc9173 commit 97f8408Copy full SHA for 97f8408
ci/base-images/debian/install.sh
@@ -1,6 +1,14 @@
1
#! /usr/bin/env bash
2
set -e
3
4
+glibc_version=$(ldd --version | head -n1 | awk '{print $NF}')
5
+required_version="2.35"
6
+
7
+# Compare versions: if glibc_version < required_version, set the env var
8
+if [ "$(printf '%s\n%s\n' "$glibc_version" "$required_version" | sort -V | head -n1)" != "$required_version" ]; then
9
+ export npm_config_build_from_source=true
10
+fi
11
12
if [ x"${ATOM_RUBY_VERSION}" != "x" ]; then
13
git clone https://github.com/rbenv/rbenv.git --depth=1 ~/.rbenv
14
echo 'export PATH="/root/.rbenv/bin:$PATH"' >> ~/.bashrc
0 commit comments