view 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
line wrap: on
line source

FROM gliderlabs/alpine:3.2
MAINTAINER Dirk Olmes <dirk.olmes@codedo.de>

RUN apk add --update lighttpd wget && \
    rm -rf /var/cache/apk/* && \
    #
    # enable directory listings
    #
    echo "dir-listing.activate = \"enable\"" >> /etc/lighttpd/lighttpd.conf && \
    #
    # populate the docroot
    #
    cd /var/www/localhost/htdocs && \
    mkdir -p alpine/v3.2/main/x86_64 && \
    cd alpine/v3.2/main/x86_64 && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ca-certificates-20141019-r2.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/curl-7.42.1-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/expat-2.1.0-r1.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/gdbm-1.11-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libbz2-1.0.6-r3.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libffi-3.2.1-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libgcc-4.9.2-r5.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/libssh2-1.5.0-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-5.2.4-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-libs-5.2.4-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/lua5.2-posix-33.3.1-r2.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-libs-5.9-r3.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-terminfo-base-5.9-r3.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/ncurses-widec-libs-5.9-r3.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/openssl-1.0.2d-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-meld3-1.0.2-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/py-setuptools-1.1.7-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/python-2.7.10-r1.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/readline-6.3.008-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/run-parts-4.4-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sqlite-libs-3.8.10.2-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/sudo-1.8.15-r0.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/supervisor-3.1.3-r1.apk && \
    wget http://dl-2.alpinelinux.org/alpine/v3.2/main/x86_64/tar-1.28-r0.apk && \
    ls -la

EXPOSE 80
CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf"]