summaryrefslogtreecommitdiff
path: root/docker/alpine-3.7
diff options
context:
space:
mode:
authorIngy döt Net <ingy@ingy.net>2018-01-07 13:23:08 -0800
committerIngy döt Net <ingy@ingy.net>2018-01-08 00:21:04 -0800
commita9a9b271fe6ea6c856159033e2328a3098bf1cc3 (patch)
tree066aae2927ce9289660aedf2338cab33ab528e9d /docker/alpine-3.7
parenta70c7f36cb46a7fbda862389b4d602f5444ff3f2 (diff)
downloadlibyaml-git-a9a9b271fe6ea6c856159033e2328a3098bf1cc3.tar.gz
Docker test file changes (added alpine testing)
Also reworked all the dockerfiles to be cleaner and consistent: * Fixed some indentation * Removed vim dependencies * Collapsed RUN steps for less build layers * Renamed dockerfiles/ to shorter and more adaptable docker/
Diffstat (limited to 'docker/alpine-3.7')
-rw-r--r--docker/alpine-3.726
1 files changed, 26 insertions, 0 deletions
diff --git a/docker/alpine-3.7 b/docker/alpine-3.7
new file mode 100644
index 0000000..ac2d625
--- /dev/null
+++ b/docker/alpine-3.7
@@ -0,0 +1,26 @@
+# vim: ft=dockerfile
+FROM alpine:3.7
+MAINTAINER Ingy döt Net <ingy@ingy.net>
+
+RUN apk update && \
+ apk add --no-cache \
+ autoconf \
+ automake \
+ build-base \
+ cmake \
+ git \
+ libtool \
+ perl-dev && \
+ mkdir /libyaml
+
+COPY . /libyaml/
+WORKDIR /libyaml
+
+ENV LD_LIBRARY_PATH=/libyaml/src/.libs
+
+RUN ./bootstrap && \
+ ./configure && \
+ make && \
+ make install
+
+CMD ["bash"]