mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Added CI image for Alpine
This commit is contained in:
23
.github/ci_images/alpine_builder.dockerfile
vendored
Normal file
23
.github/ci_images/alpine_builder.dockerfile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
FROM alpine:3.16
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
ENV OS_NAME alpine
|
||||
|
||||
RUN apk update -q \
|
||||
&& apk add -q --no-cache \
|
||||
# Base build tools
|
||||
bash build-base git py3-pip \
|
||||
# Packaged dependencies
|
||||
xz-dev \
|
||||
zstd-dev \
|
||||
xapian-core-dev \
|
||||
icu-dev icu-data-full \
|
||||
gtest-dev
|
||||
|
||||
# Create user
|
||||
RUN adduser -h /home/runner -D runner
|
||||
USER runner
|
||||
WORKDIR /home/runner
|
||||
ENV PATH /home/runner/.local/bin:$PATH
|
||||
RUN pip3 install meson ninja ; \
|
||||
ln -s /usr/bin/python3 .local/bin/python
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
variant: [bionic, f35, focal]
|
||||
variant: [bionic, f35, focal, alpine]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
2
.github/workflows/releaseNigthly.yml
vendored
2
.github/workflows/releaseNigthly.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
variant: [bionic, f35, focal]
|
||||
variant: [bionic, f35, focal, alpine]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
Reference in New Issue
Block a user