From 1f57d9d0b68bec4d462812e7cb607c9ee8809925 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 10 Feb 2024 20:57:04 +0100 Subject: [PATCH] Alpine linux build - adding JPEG development headers to fix build errors --- .github/test/Dockerfile-alpine | 2 ++ .github/workflows/test-container-build.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/test/Dockerfile-alpine b/.github/test/Dockerfile-alpine index 08fc8300..aab923b2 100644 --- a/.github/test/Dockerfile-alpine +++ b/.github/test/Dockerfile-alpine @@ -12,8 +12,10 @@ RUN \ cargo \ g++ \ gcc \ + jpeg-dev \ libc-dev \ libffi-dev \ + libjpeg \ libxslt-dev \ make \ openssl-dev \ diff --git a/.github/workflows/test-container-build.yml b/.github/workflows/test-container-build.yml index ff453523..c6fd9efb 100644 --- a/.github/workflows/test-container-build.yml +++ b/.github/workflows/test-container-build.yml @@ -11,12 +11,14 @@ on: - requirements.txt - Dockerfile - .github/workflows/* + - .github/test/Dockerfile* pull_request: paths: - requirements.txt - Dockerfile - .github/workflows/* + - .github/test/Dockerfile* # Changes to requirements.txt packages and Dockerfile may or may not always be compatible with arm etc, so worth testing # @todo: some kind of path filter for requirements.txt and Dockerfile