From 821cbf0a2a798e63df5a353df24dc515dd58c2ab Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Thu, 16 Feb 2023 10:27:03 -0600 Subject: [PATCH] Try using debian:8 for older glibc Building on debian:10 results in a binary that requires glibc 2.27 which is not available on some LTS server Linuxes like CentOS 7. This commit attempts to make a compatible jffi.so using debian:8, which ships with glibc 2.19. This is not as old as 2.17 but may remove enough dependencies on newer glibc to be sufficient. See #138 --- .github/workflows/native-linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/native-linux.yml b/.github/workflows/native-linux.yml index c52f062c..008de7df 100644 --- a/.github/workflows/native-linux.yml +++ b/.github/workflows/native-linux.yml @@ -47,9 +47,9 @@ jobs: - name: Restart Docker run: sudo systemctl restart docker.service - name: Pull docker image - run: docker pull --platform $(echo ${{ matrix.arch }} | sed 's|-|/|g') debian:10 || true + run: docker pull --platform $(echo ${{ matrix.arch }} | sed 's|-|/|g') debian:8 || true - name: Build inside Docker - run: docker run --rm -v $GITHUB_WORKSPACE:/work debian:10 /work/.github/build-native-debian.sh + run: docker run --rm -v $GITHUB_WORKSPACE:/work debian:8 /work/.github/build-native-debian.sh - name: Archive built library uses: actions/upload-artifact@v2 with: