diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-14 08:11:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 08:11:42 (GMT) |
commit | 681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch) | |
tree | ce98c2b3d9648db065d27add325370392a35d584 /testing/docker/alpine3.15 | |
parent | ba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff) | |
parent | 86c2982568de1ad4d4cc12a65b19231331484405 (diff) |
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'testing/docker/alpine3.15')
-rw-r--r-- | testing/docker/alpine3.15/Dockerfile | 14 | ||||
-rw-r--r-- | testing/docker/alpine3.15/EXPERIMENTAL | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/testing/docker/alpine3.15/Dockerfile b/testing/docker/alpine3.15/Dockerfile new file mode 100644 index 0000000..2315e78 --- /dev/null +++ b/testing/docker/alpine3.15/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine:3.15 +ARG CTNG_UID=1000 +ARG CTNG_GID=1000 +RUN addgroup -g $CTNG_GID ctng +RUN adduser -D -h /home/ctng -G ctng -u $CTNG_UID -s /bin/bash ctng +# Activate community and testing repositories +RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories +RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories +RUN apk update +RUN apk add alpine-sdk wget xz git bash autoconf automake bison flex texinfo help2man gawk libtool ncurses-dev gettext-dev python3-dev rsync +RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 +RUN chmod a+x /sbin/dumb-init +RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile +ENTRYPOINT [ "/sbin/dumb-init", "--" ] diff --git a/testing/docker/alpine3.15/EXPERIMENTAL b/testing/docker/alpine3.15/EXPERIMENTAL new file mode 100644 index 0000000..846c43b --- /dev/null +++ b/testing/docker/alpine3.15/EXPERIMENTAL @@ -0,0 +1,11 @@ +Support for Alpine Linux as a build or host platform is EXPERIMENTAL. Some of +the packages try to compile binaries for the build or the host machine and fail +because they expect certain GLIBC-specific types, etc: Alpine Linux does not +use GNU libc, it uses musl. + +Only the following bug reports will be looked into: +- A sample configuration used to build successfully and no longer does. Identify +the commit ID that builds successfully for you. +- A pull request that fixes the build for any sample on the Alpine Linux. + +All other bug reports against Alpine as a build/host will be summarily closed. |