Skip to content

Commit

Permalink
tests/docker: Add dockerfile for Alpine Linux
Browse files Browse the repository at this point in the history
Alpine Linux[1] is a security-oriented, lightweight Linux distribution
based on musl libc and busybox.

It it popular among Docker guests and embedded applications.

Adding it to test against different libc.

[1]: https://alpinelinux.org/

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20210118063808.12471-9-jiaxun.yang@flygoat.com>
[thuth: Dropped some unnecessary packages, replaced build-base with its deps]
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
FlyGoat authored and huth committed Jan 20, 2021
1 parent eb8b1a7 commit 8df04b0
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions tests/docker/dockerfiles/alpine.docker
@@ -0,0 +1,55 @@

FROM alpine:edge

RUN apk update
RUN apk upgrade

# Please keep this list sorted alphabetically
ENV PACKAGES \
alsa-lib-dev \
bash \
binutils \
coreutils \
curl-dev \
g++ \
gcc \
git \
glib-dev \
glib-static \
gnutls-dev \
gtk+3.0-dev \
libaio-dev \
libcap-ng-dev \
libjpeg-turbo-dev \
libnfs-dev \
libpng-dev \
libseccomp-dev \
libssh-dev \
libusb-dev \
libxml2-dev \
lzo-dev \
make \
mesa-dev \
mesa-egl \
mesa-gbm \
meson \
ncurses-dev \
ninja \
perl \
pulseaudio-dev \
python3 \
py3-sphinx \
shadow \
snappy-dev \
spice-dev \
texinfo \
usbredir-dev \
util-linux-dev \
vde2-dev \
virglrenderer-dev \
vte3-dev \
xfsprogs-dev \
zlib-dev \
zlib-static

RUN apk add $PACKAGES

0 comments on commit 8df04b0

Please sign in to comment.