Skip to content

Commit

Permalink
CI: replace Alpine 3.17 with 3.19 (#191)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 authored Jan 6, 2024
1 parent 47187de commit 999f7a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-src-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
fail-fast: false
matrix:
arch: ["amd64", "arm64"]
docker_file: ["Alpine_3_17", "Alpine_3_18", "Almalinux_9", "Debian_12"]
docker_file: ["Alpine_3_18", "Alpine_3_19", "Almalinux_9", "Debian_12"]
include:
- arch: "arm/v7"
docker_file: "Alpine_3_18"
docker_file: "Alpine_3_19"
- arch: "arm/v7"
docker_file: "Debian_12"
- arch: "amd64"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
FROM alpine:3.17 as base
FROM alpine:3.19 as base

RUN \
apk add --no-cache \
python3-dev \
py3-pip \
alpine-sdk \
cmake \
nasm \
aom-dev \
x265-dev \
libheif-dev \
py3-numpy \
py3-pillow

RUN \
python3 -m pip install --upgrade pip

FROM base as build_test

COPY . /pillow_heif

RUN \
python3 pillow_heif/libheif/linux_build_libs.py && \
python3 -m venv --system-site-packages myenv && \
source myenv/bin/activate && \
if [ `getconf LONG_BIT` = 64 ]; then \
python3 -m pip install -v "pillow_heif/.[tests]"; \
else \
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Linux
| **And of course you can build your own libheif library with your preferred encoders and decoders and use what you like.**
There is many different ways how to build it from source. Main requirements are:
* ``libheif`` should be version >= ``1.16.1`` version.
* ``libheif`` should be version >= ``1.16.1`` version(recommended version is ``1.17.3`` or higher).
* ``x265`` should support 10 - 12 bit encoding(if you want to save in that bitness)
* ``aom`` should be >= ``3.3.0`` version
* ``libde265`` should be >= ``1.0.8`` version
Expand All @@ -47,7 +47,7 @@ On `Ubuntu`:
| :bash:`sudo apt update`
| :bash:`sudo apt -y install libheif-dev`
On `Alpine 18+`:
On `Alpine 19`:

| :bash:`sudo apk add --no-cache libheif-dev`
Expand Down

0 comments on commit 999f7a2

Please sign in to comment.