From e0980dc98a1381bcf828d4b0ec5f547b77fb860e Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Tue, 10 Dec 2024 10:33:34 +0900 Subject: [PATCH] fix Post job cleanup. /usr/bin/docker exec a73c1686824111e1103ab64b9f540a586c9548c53a8213840c21206b2f17403a sh -c "cat /etc/*release | grep ^ID" OCI runtime exec failed: exec failed: unable to start container process: exec: "/__e/node20/bin/node": stat /__e/node20/bin/node: no such file or directory: unknown --- .github/workflows/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 5277959f..f3f416f7 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -61,6 +61,21 @@ jobs: git config --global --add safe.directory $GITHUB_WORKSPACE fi + - name: Try to replace `node` with an glibc 2.17 + shell: bash + run: | + if [ "${{ matrix.CONTAINER }}" = "jskrobotics/ros-ubuntu:14.04" ]; then + export USER=$(whoami) + sudo chmod 777 -R /__e/node20 + sudo chown -R $USER /__e/node20 + fi + ls -lar /__e/node20 && + sudo apt-get install -y curl && + curl -Lo /tmp/node.tar.gz https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x64-glibc-217.tar.gz && + cd /__e/node20 && + tar -x --strip-components=1 -f /tmp/node.tar.gz && + ls -lar /__e/node20/bin/ + - name: Chcekout uses: actions/checkout@v3.0.2 with: