Add CI task for Alpine Linux

This commit is contained in:
Jon Siwek 2021-03-30 16:36:54 -07:00
parent 3e9ac00f21
commit 3f95abd0dd
2 changed files with 32 additions and 0 deletions

View file

@ -182,6 +182,15 @@ ubuntu16_task:
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
alpine_task:
container:
# Alpine releases typically happen every 6 months w/ support for 2 years.
# The Dockerfile simply tracks latest Alpine release and shouldn't
# generally need updating based on particular Alpine release timelines.
dockerfile: ci/alpine/Dockerfile
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
# Apple doesn't publish official long-term support timelines.
# We aim to support both the current and previous macOS release.
macos_big_sur_task:

23
ci/alpine/Dockerfile Normal file
View file

@ -0,0 +1,23 @@
FROM alpine:latest
RUN apk add --no-cache \
cmake \
make \
g++ \
python3 \
python3-dev \
flex \
bison \
libpcap-dev \
openssl-dev \
zlib-dev \
swig \
bash \
bsd-compat-headers \
linux-headers \
fts-dev \
git \
curl \
py3-pip
RUN pip3 install junit2html