summaryrefslogtreecommitdiff
path: root/testing/docker/alpine3.8
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-22 06:57:35 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-22 08:21:14 (GMT)
commitd40237cba489d01df4594637c3234ea4b3986641 (patch)
treeb2f778ec186151c6749e0f5b2ef49e1512391300 /testing/docker/alpine3.8
parent49b71e71d63de5ceb26ff7c905afb94226b69eb4 (diff)
Add a Dockerfile for Alpine Linux 3.8
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/alpine3.8')
-rw-r--r--testing/docker/alpine3.8/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/docker/alpine3.8/Dockerfile b/testing/docker/alpine3.8/Dockerfile
new file mode 100644
index 0000000..bfef1bd
--- /dev/null
+++ b/testing/docker/alpine3.8/Dockerfile
@@ -0,0 +1,14 @@
+FROM alpine:3.8
+ARG CTNG_UID
+ARG CTNG_GID
+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 python-dev
+RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
+RUN chmod a+x /sbin/dumb-init
+RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
+ENTRYPOINT [ "/sbin/dumb-init", "--" ]