annotate Dockerfile @ 0:3f1e1c2fff0d default tip

initial import
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 26 Nov 2015 05:22:26 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 FROM gliderlabs/alpine:3.2
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 MAINTAINER Dirk Olmes <dirk.olmes@codedo.de>
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 RUN apk add --update lighttpd wget && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 rm -rf /var/cache/apk/* && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 #
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 # enable directory listings
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 #
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 echo "dir-listing.activate = \"enable\"" >> /etc/lighttpd/lighttpd.conf && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 #
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 # populate the docroot
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 #
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 cd /var/www/localhost/htdocs && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 mkdir -p alpine/v3.2/main/x86_64 && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 cd alpine/v3.2/main/x86_64 && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ca-certificates-20141019-r2.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/curl-7.42.1-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/expat-2.1.0-r1.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/gdbm-1.11-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libbz2-1.0.6-r3.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libffi-3.2.1-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libgcc-4.9.2-r5.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libssh2-1.5.0-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-5.2.4-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-libs-5.2.4-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-posix-33.3.1-r2.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-libs-5.9-r3.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-terminfo-base-5.9-r3.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-widec-libs-5.9-r3.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/openssl-1.0.2d-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-meld3-1.0.2-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-setuptools-1.1.7-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/python-2.7.10-r1.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/readline-6.3.008-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/run-parts-4.4-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sqlite-libs-3.8.10.2-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sudo-1.8.15-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/supervisor-3.1.3-r1.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/tar-1.28-r0.apk && \
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 ls -la
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 EXPOSE 80
3f1e1c2fff0d initial import
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]